aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-03-06 17:23:11 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-03-06 17:23:11 +0700
commit51892b5e7462658e077c27c1dab9aece793b6fe9 (patch)
tree5f658532dc95300344925cb3223cdb5d8cccc385
parent97407b218c6d816e964f1faa1420db46ea1fec3c (diff)
Remove test_Os now that emcc supports -Os.
-rwxr-xr-xtests/runner.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 5adafddd..32c68501 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8718,14 +8718,6 @@ f.close()
process.communicate()
assert process.returncode is 0, 'User should be able to specify custom -std= on the command line!'
- def test_Os(self):
- for opt in ['s', '0']:
- output = Popen([PYTHON, EMCC, path_from_root('tests', 'hello_world.c'), '-O' + opt], stdout=PIPE, stderr=PIPE).communicate()
- assert len(output[0]) == 0, output[0]
- assert ('emcc: warning: -Os is ignored (use -O0, -O1, -O2)' in output[1]) == (opt == 's'), 'warn on -Os when necessary'
- assert os.path.exists('a.out.js'), '\n'.join(output)
- self.assertContained('hello, world!', run_js('a.out.js'))
-
def test_catch_undef(self):
open(os.path.join(self.get_dir(), 'test.cpp'), 'w').write(r'''
#include <vector>