From bdfa920f931f186edf3c3042d49ddd341c4dbfc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Tue, 21 Jun 2022 14:21:12 +0200 Subject: [PATCH] Use binary path in testBazelReporter reporter output path --- tests/TestScripts/testBazelReporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):