~intrahealth+informatics/ihris-common/4.3-dev

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use Apache::TestRunPHP;
use Apache::TestMB;
use Cwd qw(abs_path);

$t_dir = "t";
$script = "$t_dir/TEST";

$conf = Apache::TestMB->new
  (requires           => {Apache::Test => '1.30.1'},
   dist_name          => 'iHRIS Common',
   dist_version       => '3.0',
   apache_test_args   =>
   {t_dir             => abs_path($t_dir),
    httpd             => '/usr/sbin/apache2',
    tests             => "$t_dir/*.t"},
   apache_test_script => $script);
$conf->create_build_script;
$conf->generate_script($script, "Apache::TestRunPHP");