aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-07 18:19:37 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-07 18:19:37 -0800
commit627aa60c461b036a617a6405aef7de73221f511a (patch)
tree06908fd34065a4f78733012c4b9f70a143387262 /tests
parentf7e59e31bf9652293c9c96e90866e73236a2ae51 (diff)
parent654d4dd001de4a1c69c19ed16ac3a427423d179f (diff)
Merge pull request #930 from waywardmonkeys/update-catch-undef
-fcatch-undefined-behavior is deprecated.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 1f40d69c..cc66068e 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8888,7 +8888,7 @@ f.close()
return 0;
}
''')
- Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'test.cpp'), '-fcatch-undefined-behavior']).communicate()
+ Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'test.cpp'), '-fsanitize=undefined']).communicate()
self.assertContained('hello, world!', run_js(os.path.join(self.get_dir(), 'a.out.js')))
def test_unaligned_memory(self):