test/test-automation/runner.c
changeset 5679 10a5199c4169
parent 5678 50401a6c3c95
child 5680 e61bdd43a2c3
equal deleted inserted replaced
5678:50401a6c3c95 5679:10a5199c4169
    50 char *
    50 char *
    51 ScanForTestSuites() {
    51 ScanForTestSuites() {
    52 #if defined(linux) || defined( __linux)
    52 #if defined(linux) || defined( __linux)
    53 	char *libName = "tests/libtest.so";
    53 	char *libName = "tests/libtest.so";
    54 #else
    54 #else
    55 	char *libName = "tests/libtestrect.dylib";
    55 	char *libName = "tests/libtest.dylib";
    56 #endif
    56 #endif
    57 	return libName;
    57 	return libName;
    58 }
    58 }
    59 
    59 
    60 
    60 
   285 				}
   285 				}
   286 			}
   286 			}
   287 
   287 
   288 			if(retVal) {
   288 			if(retVal) {
   289 				failureCount++;
   289 				failureCount++;
   290 				printf("%s (in %s): FAILED\n", testname, testSuiteName);
   290 				if(retVal == 2) {
       
   291 					printf("%s (in %s): FAILED -> No asserts\n", testname, testSuiteName);
       
   292 				} else {
       
   293 					printf("%s (in %s): FAILED\n", testname, testSuiteName);
       
   294 				}
   291 			} else {
   295 			} else {
   292 				passCount++;
   296 				passCount++;
   293 				printf("%s (in %s): ok\n", testname, testSuiteName);
   297 				printf("%s (in %s): ok\n", testname, testSuiteName);
   294 			}
   298 			}
   295 		}
   299 		}