Browse files

fix sanity.test_emcc_caching

  • Loading branch information...
1 parent 86097ba commit 33db680552a2811e92552d9c225aedb68f4b13d0 @kripken committed Apr 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/runner.py
View
4 tests/runner.py
@@ -7523,8 +7523,8 @@ def test_emcc_caching(self):
assert not os.path.exists(EMCC_CACHE)
try_delete('a.out.js')
- basebc_name = os.path.join(EMSCRIPTEN_TEMP_DIR, 'emcc-0-basebc.bc')
- dcebc_name = os.path.join(EMSCRIPTEN_TEMP_DIR, 'emcc-1-dce.bc')
+ basebc_name = os.path.join(TEMP_DIR, 'emscripten_temp', 'emcc-0-basebc.bc')
+ dcebc_name = os.path.join(TEMP_DIR, 'emscripten_temp', 'emcc-1-dce.bc')
# Building a file that *does* need dlmalloc *should* trigger cache generation, but only the first time
for filename, libname in [('hello_malloc.cpp', 'dlmalloc'), ('hello_libcxx.cpp', 'libcxx')]:

0 comments on commit 33db680

Please sign in to comment.