[libcxx-commits] [libcxx] 8ad5a21 - [libc++] Fix %{temp} replacements when running benchmarks
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 10 03:08:37 PDT 2025
Author: Nikolas Klauser
Date: 2025-10-10T12:08:26+02:00
New Revision: 8ad5a217906db80c6d6502246b70947f26de9bbd
URL: https://github.com/llvm/llvm-project/commit/8ad5a217906db80c6d6502246b70947f26de9bbd
DIFF: https://github.com/llvm/llvm-project/commit/8ad5a217906db80c6d6502246b70947f26de9bbd.diff
LOG: [libc++] Fix %{temp} replacements when running benchmarks
Added:
Modified:
libcxx/utils/libcxx/test/format.py
Removed:
################################################################################
diff --git a/libcxx/utils/libcxx/test/format.py b/libcxx/utils/libcxx/test/format.py
index 3fcd2501c489c..975209c273f8c 100644
--- a/libcxx/utils/libcxx/test/format.py
+++ b/libcxx/utils/libcxx/test/format.py
@@ -361,7 +361,7 @@ def execute(self, test, litConfig):
if "enable-benchmarks=run" in test.config.available_features:
steps += ["%dbg(EXECUTED AS) %{exec} %t.exe --benchmark_out=%{temp}/benchmark-result.json --benchmark_out_format=json"]
parse_results = os.path.join(LIBCXX_UTILS, 'parse-google-benchmark-results')
- steps += [f"{parse_results} %{temp}/benchmark-result.json --output-format=lnt > %{temp}/results.lnt"]
+ steps += [f"{parse_results} %{{temp}}/benchmark-result.json --output-format=lnt > %{{temp}}/results.lnt"]
return self._executeShTest(test, litConfig, steps)
elif re.search('[.]gen[.][^.]+$', filename): # This only happens when a generator test is not supported
return self._executeShTest(test, litConfig, [])
More information about the libcxx-commits
mailing list