aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-03-06 17:25:59 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-03-06 17:25:59 +0700
commit654d4dd001de4a1c69c19ed16ac3a427423d179f (patch)
tree8825312800adad4c3eebf695d875c3012c4ae25d /tests
parent97407b218c6d816e964f1faa1420db46ea1fec3c (diff)
-fcatch-undefined-behavior is deprecated.
Use -fsanitize=undefined.
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 5adafddd..695cd23c 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8743,7 +8743,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):