working return integer tests as part of gtest

This commit is contained in:
water
2020-09-06 16:58:25 -04:00
parent 8bf0bd86d3
commit d49b01e310
36 changed files with 648 additions and 266 deletions
+3 -1
View File
@@ -10,7 +10,9 @@ int main(int argc, char** argv) {
while (true) {
// run the runtime in a loop so we can reset the game and have it restart cleanly
printf("gk %d.%d\n", versions::GOAL_VERSION_MAJOR, versions::GOAL_VERSION_MINOR);
exec_runtime(argc, argv);
if (exec_runtime(argc, argv) == 2) {
return 0;
}
}
return 0;
}