make linux tests pass again (#1371)

* make linux tests pass again

* format
This commit is contained in:
water111
2022-05-21 20:55:29 -04:00
committed by GitHub
parent 1a41c5f8dd
commit 13c4da7ff8
10 changed files with 119 additions and 41 deletions
+6 -6
View File
@@ -99,20 +99,20 @@ void CompilerTestRunner::run_always_pass(const std::string& test_category,
}
void runtime_no_kernel() {
constexpr int argc = 5;
const char* argv[argc] = {"", "-fakeiso", "-debug", "-nokernel", "-nodisplay"};
constexpr int argc = 6;
const char* argv[argc] = {"", "-fakeiso", "-debug", "-nokernel", "-nodisplay", "-nosound"};
exec_runtime(argc, const_cast<char**>(argv));
}
void runtime_with_kernel() {
constexpr int argc = 4;
const char* argv[argc] = {"", "-fakeiso", "-debug", "-nodisplay"};
constexpr int argc = 5;
const char* argv[argc] = {"", "-fakeiso", "-debug", "-nodisplay", "-nosound"};
exec_runtime(argc, const_cast<char**>(argv));
}
void runtime_with_kernel_no_debug_segment() {
constexpr int argc = 4;
const char* argv[argc] = {"", "-fakeiso", "-debug-mem", "-nodisplay"};
constexpr int argc = 5;
const char* argv[argc] = {"", "-fakeiso", "-debug-mem", "-nodisplay", "-nosound"};
exec_runtime(argc, const_cast<char**>(argv));
}