try to use predictable names for stdout/err when possible

This commit is contained in:
Alexander Kuzmenkov 2021-01-27 21:37:28 +03:00
parent 54f47c468c
commit f4f66e9537

View File

@ -342,7 +342,7 @@ def run_tests_array(all_tests_with_params):
SERVER_DIED = True
break
file_suffix = ('.' + str(os.getpid())) if is_concurrent else ''
file_suffix = ('.' + str(os.getpid())) if is_concurrent and args.test_runs > 1 else ''
reference_file = os.path.join(suite_dir, name) + '.reference'
stdout_file = os.path.join(suite_tmp_dir, name) + file_suffix + '.stdout'
stderr_file = os.path.join(suite_tmp_dir, name) + file_suffix + '.stderr'