Skip to content

Commit

Permalink
test: run_replay_tests now forwards more args when collecting local b…
Browse files Browse the repository at this point in the history
…aseline results
  • Loading branch information
EmilyV99 committed Aug 20, 2023
1 parent 47c7a6d commit a3513f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/run_replay_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def start_replay(self, player_args: StartReplayArgs):
exe_args.append('-s')

if args.no_console:
exe_args.push('-no_console')
exe_args.append('-no_console')

# Allegro seems to be using free'd memory when shutting down the sound system.
# For now, just disable sound in CI or when using Asan/Coverage.
Expand Down Expand Up @@ -1105,6 +1105,10 @@ def prompt_to_create_compare_report():
'--test_results_folder', str(local_baseline_dir),
*get_args_for_collect_baseline_from_test_results([test_results_path]),
]
if not args.jit:
command_args.append('--no-jit')
if args.no_console:
command_args.append('--no_console')
print(f'Collecting baseline locally: {" ".join(command_args)}')
subprocess.check_call(command_args)
test_runs.extend(collect_many_test_results_from_dir(local_baseline_dir))
Expand Down

0 comments on commit a3513f6

Please sign in to comment.