aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-20 13:34:29 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-20 13:35:25 -0800
commitc107b57d57dd428624d3f2786bace453eb950106 (patch)
treed85213e9447c18bcdc5c90a00488daefae9d103f
parent7ead20ea09f187b9c46709d299154be166d44281 (diff)
fix sanity tests
-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']"