diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 21:11:01 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 21:11:01 -0800 |
commit | f1bba83e5e8233fe7424e0f7a33d8feda78c8894 (patch) | |
tree | 905706abf95e5c938fbc49b097dc8fc5c07e2605 /tests/test_core.py | |
parent | 99634e23408315efe0633cd1917794081f4ec4ba (diff) | |
parent | bf2ff7290aa65659e9e3ec7fd48e818f98b82832 (diff) |
Merge pull request #2091 from sunfishcode/incoming
Use -mllvm -disable-llvm-optzns.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 70f12c7a..b9b617db 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4720,7 +4720,7 @@ return malloc(size); def test_gcc_unmangler(self): if os.environ.get('EMCC_FAST_COMPILER') != '1': Settings.NAMED_GLOBALS = 1 # test coverage for this; fastcomp never names globals - Building.COMPILER_TEST_OPTS += ['-I' + path_from_root('third_party')] + Building.COMPILER_TEST_OPTS += ['-I' + path_from_root('third_party'), '-Wno-warn-absolute-paths'] self.do_run(open(path_from_root('third_party', 'gcc_demangler.c')).read(), '*d_demangle(char const*, int, unsigned int*)*', args=['_ZL10d_demanglePKciPj']) @@ -4909,6 +4909,7 @@ def process(filename): Building.COMPILER_TEST_OPTS += [ '-I' + path_from_root('tests', 'freetype', 'include'), '-I' + path_from_root('tests', 'poppler', 'include'), + '-Wno-warn-absolute-paths' ] Settings.INVOKE_RUN = 0 # We append code that does run() ourselves @@ -5164,7 +5165,7 @@ def process(filename): def test_fuzz(self): if Settings.USE_TYPED_ARRAYS != 2: return self.skip('needs ta2') - Building.COMPILER_TEST_OPTS += ['-I' + path_from_root('tests', 'fuzz')] + Building.COMPILER_TEST_OPTS += ['-I' + path_from_root('tests', 'fuzz'), '-Wno-warn-absolute-paths'] def run_all(x): print x |