Skip to content

Commit 88bdfdc

Browse files
committed
test runner cleanup
1 parent 6a83e06 commit 88bdfdc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ int tests_run = 0;
88

99
#define TESTSET(x, func) result = func; \
1010
if (result != 0) { \
11-
printf("[%s] Assertion Failure: %s\n", x, result); \
11+
printf("[%s] Test Set Failure: %s\n", x, result); \
1212
}\
1313
else { \
1414
printf("[%s] ALL TESTS PASSED\n", x); \

tests/tests_system_simple.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static const char * test_simple_put_get() {
1717
result |= !run_scenarios(binary_path, "interruptions", testcases_path, port ? port : 8001, port == 0, "");
1818
result |= !run_scenarios(binary_path, "complex-system", testcases_path, port ? port : 8001, port == 0, "");
1919

20-
return result ? "System Tests failed" : 0;
20+
return result ? "System Tests failed" : NULL;
2121
}
2222

2323
static const char * test_simple(const char* a_binary_path, const char* a_testcases_path, int a_port) {

0 commit comments

Comments
 (0)