Fix the release build.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3654 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2021-08-22 17:38:20 +00:00
parent c78d3b0413
commit 45dfe34375

View File

@ -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); snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path);
printf("%s\n", command); printf("%s\n", command);
int result = system(command); int result = system(command);
(void)result;
assert(WIFEXITED(result)); assert(WIFEXITED(result));
assert(WEXITSTATUS(result) == 0); 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); snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path);
printf("%s\n", command); printf("%s\n", command);
int result = system(command); int result = system(command);
(void)result;
assert(WIFEXITED(result)); assert(WIFEXITED(result));
assert(WEXITSTATUS(result) == 0); 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); snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path);
printf("%s\n", command); printf("%s\n", command);
int result = system(command); int result = system(command);
(void)result;
assert(WIFEXITED(result)); assert(WIFEXITED(result));
assert(WEXITSTATUS(result) == 0); 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); snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path);
printf("%s\n", command); printf("%s\n", command);
int result = system(command); int result = system(command);
(void)result;
assert(WIFEXITED(result)); assert(WIFEXITED(result));
assert(WEXITSTATUS(result) == 0); 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); snprintf(command, sizeof(command), "%s run --ssb-port=0 -s out/test.js", exe_path);
printf("%s\n", command); printf("%s\n", command);
int result = system(command); int result = system(command);
(void)result;
assert(WIFEXITED(result)); assert(WIFEXITED(result));
assert(WEXITSTATUS(result) == 0); assert(WEXITSTATUS(result) == 0);