mirror of
https://github.com/open-goal/jak-project
synced 2026-07-25 14:27:10 -04:00
make linux tests pass again (#1371)
* make linux tests pass again * format
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
(make-group "all-code")
|
||||
@@ -944,7 +944,7 @@ TEST(TypeConsistency, MANUAL_TEST_TypeConsistencyWithBuildFirst) {
|
||||
Compiler compiler;
|
||||
compiler.enable_throw_on_redefines();
|
||||
add_expected_type_mismatches(compiler);
|
||||
compiler.run_test_no_load("test/goalc/source_templates/with_game/test-build-game.gc");
|
||||
compiler.run_test_no_load("test/goalc/source_templates/with_game/test-build-all-code.gc");
|
||||
compiler.run_test_no_load("decompiler/config/all-types.gc");
|
||||
}
|
||||
|
||||
@@ -953,7 +953,7 @@ TEST(TypeConsistency, TypeConsistency) {
|
||||
compiler.enable_throw_on_redefines();
|
||||
add_expected_type_mismatches(compiler);
|
||||
compiler.run_test_no_load("decompiler/config/all-types.gc");
|
||||
compiler.run_test_no_load("test/goalc/source_templates/with_game/test-build-game.gc");
|
||||
compiler.run_test_no_load("test/goalc/source_templates/with_game/test-build-all-code.gc");
|
||||
}
|
||||
|
||||
struct VectorFloatRegister {
|
||||
|
||||
Reference in New Issue
Block a user