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 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion 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,6 +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["is_merged"]:
print("Skipping repro for merged test: %s (%s)" % (test["name"], test["assembly_display_name"]))
continue
if test["test_path"] is None:
rzsc marked this conversation as resolved.
Show resolved Hide resolved
print("Failed to create repro for test: %s (%s)" % (test["name"], test["assembly_display_name"]))
else:
Expand Down