diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-25 21:45:44 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-25 21:45:44 -0800 |
commit | 52e38c266a9fd5726533adc1cc73e201cf69bcd1 (patch) | |
tree | 69b9ba1c2b879acb86d3da006885e8ebb1842533 | |
parent | 3e489d4ba4aa70907f0cffb54864814fb873208e (diff) |
check sanity on emcc -v
-rwxr-xr-x | emcc | 1 | ||||
-rw-r--r-- | tests/test_sanity.py | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -918,6 +918,7 @@ try: shared.set_logging() logging.debug('invocation: ' + ' '.join(sys.argv)) shared.apply_configuration() # reset config to pick up change + shared.check_sanity(force=True) newargs[i] = '' elif newargs[i].startswith('--shell-file'): check_bad_eq(newargs[i]) diff --git a/tests/test_sanity.py b/tests/test_sanity.py index 25858a8b..741bb748 100644 --- a/tests/test_sanity.py +++ b/tests/test_sanity.py @@ -319,6 +319,9 @@ fi output = self.check_working(EMCC) self.assertNotContained(SANITY_MESSAGE, output) + # also with -v + 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 output = self.check_working(EMCC) self.assertNotContained(SANITY_MESSAGE, output) |