Skip to content

Commit 80df5e8

Browse files
committed
crash_test adjustmetns
1 parent c2a9371 commit 80df5e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/crash_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ def __init__(self, module, engine, tprefix, fault):
6363

6464
def Do(self):
6565
vmtype = "0" if SYMBOL_ZIPS else "1"
66-
print("Running daemon...")
66+
print("Running Daemon...")
6767
p = subprocess.run([self.engine,
6868
"-set", "vm.sgame.type", vmtype,
6969
"-set", "vm.cgame.type", vmtype,
70+
"-set", "vm.timeout", "500",
7071
"-set", "sv_fps", "1000",
7172
"-set", "common.framerate.max", "0",
7273
"-set", "client.errorPopup", "0",
@@ -92,9 +93,8 @@ def Do(self):
9293
subprocess.run(Virtualize([PathJoin(BREAKPAD_DIR, "src/processor/minidump_stackwalk"), dump, SYMBOL_DIR]), check=True, stdout=sw_f, stderr=subprocess.STDOUT)
9394
sw_f.seek(0)
9495
sw = sw_f.read()
95-
# Check both function names and filenames. With the Unvanquished 0.55.2 release on Linux,
96-
# we get file:line info but not function names...
97-
self.Verify("CommandSystem.cpp" in sw, "source file names not found in trace")
96+
# Check both function names and filenames. On Linux it seems like only one of them works at a time??
97+
self.Verify("Command.cpp" in sw, "source file names not found in trace")
9898
self.Verify("InjectFaultCmd::Run" in sw, "function names not found in trace")
9999

100100
def Virtualize(cmdline):

0 commit comments

Comments
 (0)