Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-06-21 14:21:12 +0200
committerMartin Hořeňovský2022-06-21 14:21:12 +0200
commitbdfa920f931f186edf3c3042d49ddd341c4dbfc9 (patch)
tree63a4704cacba3040db10b293094ec6faca703c0d
parenta3692678743245c3baf745250292fdfba682dafd (diff)
downloadcatch3-bdfa920f931f186edf3c3042d49ddd341c4dbfc9.tar.gz
Use binary path in testBazelReporter reporter output path
-rw-r--r--tests/TestScripts/testBazelReporter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestScripts/testBazelReporter.py b/tests/TestScripts/testBazelReporter.py
index 1978f761..71014ee2 100644
--- a/tests/TestScripts/testBazelReporter.py
+++ b/tests/TestScripts/testBazelReporter.py
@@ -28,7 +28,7 @@ if len(sys.argv) != 3:
bin_path = os.path.abspath(sys.argv[1])
output_dir = os.path.abspath(sys.argv[2])
-xml_out_path = os.path.join(output_dir, "bazel-out.xml")
+xml_out_path = os.path.join(output_dir, '{}.xml'.format(os.path.basename(bin_path)))
# Ensure no file exists from previous test runs
if os.path.isfile(xml_out_path):