This commit is contained in:
Jason van Zyl 2006-10-12 19:42:51 +00:00
parent 9000f21fd7
commit 5221e959f4

View File

@ -72,6 +72,17 @@ 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");