diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-21 10:33:08 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-21 10:33:08 -0800 |
commit | ab3fa5aedb6c0588580b2dad7ddfb68503ef1cbb (patch) | |
tree | c26d08aa6e2d31ede611b69d465b5ae74e48f878 /tests/runner.py | |
parent | f5d18e37bf343f1f7968c9cc6bba2babc00d2e6b (diff) |
modify llvm opt choices in test runner build, so it uses test case code modifications that can affect llvm opts
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 6449c7b7..00003547 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -126,6 +126,8 @@ process(sys.argv[1]) # Build JavaScript code from source code def build(self, src, dirname, filename, output_processor=None, main_file=None, additional_files=[], libraries=[], includes=[], build_ll_hook=None, extra_emscripten_args=[], post_build=None): + Building.pick_llvm_opts(3, safe=Building.LLVM_OPTS != 2) # pick llvm opts here, so we include changes to Settings in the test case code + # Copy over necessary files for compiling the source if main_file is None: f = open(filename, 'w') |