mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-08 21:48:00 -05:00
Changing the harness logic to do the new two step process
This commit is contained in:
@@ -161,15 +161,17 @@ def run_benchmark():
|
||||
time.sleep(0.5)
|
||||
console_command("sv_cheats true")
|
||||
time.sleep(1)
|
||||
console_command("exec_async benchmark")
|
||||
time.sleep(1)
|
||||
user.press("\\")
|
||||
|
||||
console_command("exec_async benchmark_load")
|
||||
time.sleep(5)
|
||||
if kerasService.wait_for_word(
|
||||
word="directed", timeout=30, interval=0.1) is None:
|
||||
logging.error("Didn't see directed camera. Did the replay load?")
|
||||
word="directed", timeout=30, interval=1) is None:
|
||||
logging.info(
|
||||
"Did not find the directed camera. Did the replay load?")
|
||||
sys.exit(1)
|
||||
console_command("sv_cheats true")
|
||||
time.sleep(1)
|
||||
console_command("exec_async benchmark_run")
|
||||
user.press("\\")
|
||||
|
||||
setup_end_time = int(time.time())
|
||||
elapsed_setup_time = round(setup_end_time - setup_start_time, 2)
|
||||
|
||||
Reference in New Issue
Block a user