Skip to content

Commit 8ad5a21

Browse files
committed
[libc++] Fix %{temp} replacements when running benchmarks
1 parent f2ffb4d commit 8ad5a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/utils/libcxx/test/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def execute(self, test, litConfig):
361361
if "enable-benchmarks=run" in test.config.available_features:
362362
steps += ["%dbg(EXECUTED AS) %{exec} %t.exe --benchmark_out=%{temp}/benchmark-result.json --benchmark_out_format=json"]
363363
parse_results = os.path.join(LIBCXX_UTILS, 'parse-google-benchmark-results')
364-
steps += [f"{parse_results} %{temp}/benchmark-result.json --output-format=lnt > %{temp}/results.lnt"]
364+
steps += [f"{parse_results} %{{temp}}/benchmark-result.json --output-format=lnt > %{{temp}}/results.lnt"]
365365
return self._executeShTest(test, litConfig, steps)
366366
elif re.search('[.]gen[.][^.]+$', filename): # This only happens when a generator test is not supported
367367
return self._executeShTest(test, litConfig, [])

0 commit comments

Comments
 (0)