diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-30 17:48:36 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-30 17:48:36 -0700 |
commit | 6a9dcd37e91b5146010ff2c1f42f8dd43a0e548a (patch) | |
tree | 8474e2ef4c595fd4dcd85ec75c7b253c5db795bc /tests/runner.py | |
parent | 0f67578eff503e7990b1c4ec610566543e7b9488 (diff) |
use target in test runner library cache
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 8ac72e38..0a3381f4 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -355,7 +355,8 @@ process(sys.argv[1]) build_dir = self.get_build_dir() output_dir = self.get_dir() - cache_name = name + cache_name_extra + cache_name = name + cache_name_extra + (self.env.get('EMCC_LLVM_TARGET') or '') + if self.library_cache is not None: if cache and self.library_cache.get(cache_name): print >> sys.stderr, '<load %s from cache> ' % cache_name, |