aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-26 17:37:23 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-26 17:37:23 -0700
commit7a71deddd2ef5bf7261019b5551e35a7eee7216e (patch)
tree3d66c7f5e569882d0d5a318b6729712b715edf41 /tests/runner.py
parent0003a868648a69b6b02d3cdced29fee8feab56fe (diff)
fix test_warn_undefined
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 3e2e4471..1d9a2179 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10214,10 +10214,10 @@ f.close()
}
''')
output = Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'main.cpp'), '-s', 'WARN_ON_UNDEFINED_SYMBOLS=1'], stderr=PIPE).communicate()
- self.assertContained('Unresolved symbol: _something', output[1])
+ self.assertContained('unresolved symbol: something', output[1])
output = Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'main.cpp')], stderr=PIPE).communicate()
- self.assertNotContained('Unresolved symbol: _something\n', output[1])
+ self.assertNotContained('unresolved symbol: something\n', output[1])
def test_toobig(self):
open(os.path.join(self.get_dir(), 'main.cpp'), 'w').write(r'''