Skip to content

Commit 6caf36c

Browse files
authored
Fix benchmark.test_base64 (#24629)
Had been moved to another path at some point: ``` C:\emsdk\emscripten\main>test\runner benchmark.test_base64 Running test_benchmark: (1 tests) Running Emscripten benchmarks... [ including compilation | Sat Jun 28 00:35:48 2025 | em: commit e65efb1 | llvm: C:/emsdk/llvm/git/build_main_vs2022_64/Release/bin ] test_base64 (test_benchmark.benchmark.test_base64) ... ERROR ====================================================================== ERROR: test_base64 (test_benchmark.benchmark.test_base64) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\emsdk\emscripten\main\test\test_benchmark.py", line 861, in test_base64 src = read_file(test_file('base64.c')) File "C:\emsdk\emscripten\main\tools\utils.py", line 61, in read_file with open(file_path, encoding='utf-8') as fh: ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'C:\\emsdk\\emscripten\\main\\test\\base64.c' ---------------------------------------------------------------------- Ran 1 test in 0.173s FAILED (errors=1) ```
1 parent e65efb1 commit 6caf36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ def test_havlak(self):
858858
emcc_args=['-sSTACK_SIZE=1MB'])
859859

860860
def test_base64(self):
861-
src = read_file(test_file('base64.c'))
861+
src = read_file(test_file('benchmark/base64.c'))
862862
self.do_benchmark('base64', src, 'decode')
863863

864864
@non_core

0 commit comments

Comments
 (0)