aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-25 21:48:03 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-25 21:48:03 -0800
commite2d05d569d7848d15ddd956e5c456d81f7bf9292 (patch)
tree69bc9128749ce9bdcd76382d3242fe57bc001ccc /tests
parent52e38c266a9fd5726533adc1cc73e201cf69bcd1 (diff)
run sanity checks on emcc -v even without inputs
Diffstat (limited to 'tests')
-rw-r--r--tests/test_sanity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_sanity.py b/tests/test_sanity.py
index 741bb748..f78ff1c5 100644
--- a/tests/test_sanity.py
+++ b/tests/test_sanity.py
@@ -319,7 +319,8 @@ fi
output = self.check_working(EMCC)
self.assertNotContained(SANITY_MESSAGE, output)
- # also with -v
+ # also with -v, with or without inputs
+ output = self.check_working([EMCC, '-v'], SANITY_MESSAGE)
output = self.check_working([EMCC, '-v', path_from_root('tests', 'hello_world.c')], SANITY_MESSAGE)
# Make sure the test runner didn't do anything to the setup