aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-09 17:49:43 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-09 17:49:43 -0800
commitd239790152d4f8836585518712ae1fd68f06dfa5 (patch)
tree6055287f0e26ea44ccbad5dbcb42517b91a71f23 /tests/runner.py
parent65bbb50870a52f8fa0fa90d14050ad8f21c338d8 (diff)
enforce strict order in multiple libraries generated in the test runner: the order does matter
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
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