Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust repro file message for merged test #102141

Merged
merged 3 commits into from
Jun 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/tests/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,8 @@ def parse_test_results_xml_file(args, item, item_name, tests, assemblies):
"result" : result,
"time": time,
"test_output": test_output,
"assembly_display_name": display_name
"assembly_display_name": display_name,
"is_merged": assembly_is_merged_tests_run
}))
if result == "Pass":
assembly_info["passed"] += 1
Expand Down Expand Up @@ -1408,7 +1409,9 @@ def create_repro(args, env, tests):
# Now that the args.repro_location exists under <runtime>/artifacts
# create wrappers which will simply run the test with the correct environment
for test in failed_tests:
if test["test_path"] is None:
if test["is_merged"]:
print("Skipping repro for merged test: %s (%s)" % (test["name"], test["assembly_display_name"]))
elif test["test_path"] is None:
print("Failed to create repro for test: %s (%s)" % (test["name"], test["assembly_display_name"]))
else:
debug_env = DebugEnv(args, env, test)
Expand Down