mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 14:55:51 -04:00
[jak2] goalc supports multiple projects (#1619)
* [jak2] goalc supports multiple projects * disable deci2 server if not debugging
This commit is contained in:
@@ -23,7 +23,7 @@ struct VariableParam {
|
||||
class VariableTests : public testing::TestWithParam<VariableParam> {
|
||||
public:
|
||||
static void SetUpTestSuite() {
|
||||
shared_compiler = std::make_unique<SharedCompiler>();
|
||||
shared_compiler = std::make_unique<SharedCompiler>(GameVersion::Jak1);
|
||||
shared_compiler->runtime_thread = std::thread((GoalTest::runtime_no_kernel));
|
||||
shared_compiler->runner.c = &shared_compiler->compiler;
|
||||
}
|
||||
@@ -42,6 +42,7 @@ class VariableTests : public testing::TestWithParam<VariableParam> {
|
||||
void TearDown() {}
|
||||
|
||||
struct SharedCompiler {
|
||||
SharedCompiler(GameVersion version) : compiler(version) {}
|
||||
std::thread runtime_thread;
|
||||
Compiler compiler;
|
||||
GoalTest::CompilerTestRunner runner;
|
||||
|
||||
Reference in New Issue
Block a user