[jak2] goalc supports multiple projects (#1619)

* [jak2] goalc supports multiple projects

* disable deci2 server if not debugging
This commit is contained in:
water111
2022-07-06 21:18:08 -04:00
committed by GitHub
parent 8a18072d97
commit 28a2ecdfd3
29 changed files with 239 additions and 81 deletions
+12 -12
View File
@@ -33,8 +33,8 @@ void connect_compiler_and_debugger(Compiler& compiler, bool do_break) {
}
}
} // namespace
TEST(Debugger, DebuggerBasicConnect) {
Compiler compiler;
TEST(Jak1Debugger, DebuggerBasicConnect) {
Compiler compiler(GameVersion::Jak1);
// evidently you can't ptrace threads in your own process, so we need to run the runtime in a
// separate process.
if (!fork()) {
@@ -50,8 +50,8 @@ TEST(Debugger, DebuggerBasicConnect) {
}
}
TEST(Debugger, DebuggerBreakAndContinue) {
Compiler compiler;
TEST(Jak1Debugger, DebuggerBreakAndContinue) {
Compiler compiler(GameVersion::Jak1);
// evidently you can't ptrace threads in your own process, so we need to run the runtime in a
// separate process.
if (!fork()) {
@@ -72,8 +72,8 @@ TEST(Debugger, DebuggerBreakAndContinue) {
}
}
TEST(Debugger, DebuggerReadMemory) {
Compiler compiler;
TEST(Jak1Debugger, DebuggerReadMemory) {
Compiler compiler(GameVersion::Jak1);
// evidently you can't ptrace threads in your own process, so we need to run the runtime in a
// separate process.
if (!fork()) {
@@ -96,8 +96,8 @@ TEST(Debugger, DebuggerReadMemory) {
}
}
TEST(Debugger, DebuggerWriteMemory) {
Compiler compiler;
TEST(Jak1Debugger, DebuggerWriteMemory) {
Compiler compiler(GameVersion::Jak1);
// evidently you can't ptrace threads in your own process, so we need to run the runtime in a
// separate process.
if (!fork()) {
@@ -127,8 +127,8 @@ TEST(Debugger, DebuggerWriteMemory) {
}
}
TEST(Debugger, Symbol) {
Compiler compiler;
TEST(Jak1Debugger, Symbol) {
Compiler compiler(GameVersion::Jak1);
// evidently you can't ptrace threads in your own process, so we need to run the runtime in a
// separate process.
if (!fork()) {
@@ -158,8 +158,8 @@ TEST(Debugger, Symbol) {
}
}
TEST(Debugger, SimpleBreakpoint) {
Compiler compiler;
TEST(Jak1Debugger, SimpleBreakpoint) {
Compiler compiler(GameVersion::Jak1);
if (!fork()) {
GoalTest::runtime_no_kernel();