This commit is contained in:
Jason van Zyl 2006-10-12 19:42:51 +00:00
parent 9000f21fd7
commit 5221e959f4
1 changed files with 12 additions and 1 deletions

View File

@ -71,7 +71,18 @@ while ( <TESTS> )
}
print "};" . "\n";
$TEST_SUITE = <<EOF;
TestSuite suite = new TestSuite(IntegrationTests.class.getName());
for (int i = 0; i < tests.length; i++) {
suite.addTest(new IntegrationTests(tests[i]));
}
return suite;
}
EOF
print $TEST_SUITE;
opendir(DIR, $dirname) or die "can't opendir $dirname: $!";
while (defined($filename = readdir(DIR))) {
next unless (-d "$dirname/$filename");