INNER CODE UNIT · Python
Do
DaemonEngine/Daemon · tools/crash_test.py:77
def Do(self):
vmtype = "0" if SYMBOL_ZIPS else "1"
print("Running Daemon...")
p = subprocess.run([self.engine,
"-noforward", # catch stupid Linux persistent sockets (if gamelogic test...)
"-homepath", self.dir,
"-set", "vm.sgame.type", vmtype,
"-set", "vm.cgame.type", vmtype,
"-set", "vm.timeout", "30", # Timeout higher than the default since we might
# test on emulators that are too slow for real use
"-set", "sv_fps", "1000",
"-set", "common.framerate.max", "0",
"-set", "client.errorPopup", "0",
"-set", "server.private", "2",
"-set", "net_enabled", "0",
"-set", "common.framerate.max", "0",
"-set", "cg_navgenOnLoad", "0",
*DAEMON_USER_ARGS,