diff --git a/src/tests.c b/src/tests.c index 1b9d43e1..8ae9006f 100644 --- a/src/tests.c +++ b/src/tests.c @@ -17,6 +17,7 @@ static void _test_nop(const char* exe_path) snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path); printf("%s\n", command); int result = system(command); + (void)result; assert(WIFEXITED(result)); assert(WEXITSTATUS(result) == 0); } @@ -45,6 +46,7 @@ static void _test_child(const char* exe_path) snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path); printf("%s\n", command); int result = system(command); + (void)result; assert(WIFEXITED(result)); assert(WEXITSTATUS(result) == 0); @@ -84,6 +86,7 @@ static void _test_promise(const char* exe_path) snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path); printf("%s\n", command); int result = system(command); + (void)result; assert(WIFEXITED(result)); assert(WEXITSTATUS(result) == 0); @@ -127,6 +130,7 @@ static void _test_promise_remote_throw(const char* exe_path) snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path); printf("%s\n", command); int result = system(command); + (void)result; assert(WIFEXITED(result)); assert(WEXITSTATUS(result) == 0); @@ -172,6 +176,7 @@ static void _test_promise_remote_reject(const char* exe_path) snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path); printf("%s\n", command); int result = system(command); + (void)result; assert(WIFEXITED(result)); assert(WEXITSTATUS(result) == 0);