diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-09 17:49:43 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-09 17:49:43 -0800 |
commit | d239790152d4f8836585518712ae1fd68f06dfa5 (patch) | |
tree | 6055287f0e26ea44ccbad5dbcb42517b91a71f23 /tests/runner.py | |
parent | 65bbb50870a52f8fa0fa90d14050ad8f21c338d8 (diff) |
enforce strict order in multiple libraries generated in the test runner: the order does matter
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index a76fbaca..ecd5082f 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -261,10 +261,10 @@ process(sys.argv[1]) if cache and self.library_cache.get(cache_name): print >> sys.stderr, '<load build from cache> ', generated_libs = [] - for basename in self.library_cache[cache_name]: + for basename, contents in self.library_cache[cache_name]: bc_file = os.path.join(build_dir, basename) f = open(bc_file, 'wb') - f.write(self.library_cache[cache_name][basename]) + f.write(contents) f.close() generated_libs.append(bc_file) return generated_libs |