aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_sanity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sanity.py b/tests/test_sanity.py
index d258cff6..894f2192 100644
--- a/tests/test_sanity.py
+++ b/tests/test_sanity.py
@@ -51,7 +51,7 @@ class sanity(RunnerCore):
if type(command) is not list:
command = [command]
if expected is None:
- if command[0] == EMCC:
+ if command[0] == EMCC or (len(command) >= 2 and command[1] == EMCC):
expected = 'no input files'
else:
expected = "No tests found for ['blahblah']"