diff options
-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) |