System.out.println("------------");
// don't call isHeadless() here, as it has a side effect.
// --
System.out.println("Creating test suite");
TestSuite suite = suite(args[0]);
int countTestCases = suite.countTestCases();
System.out.println("Starting test run, test count = "+countTestCases);
// for (int i=0;i<suite.testCount();i++){
// Test testAt = suite.testAt(i);
// int testCases = testAt.countTestCases();
// if (testAt instanceof junit.framework.TestCase){