Commits

Doug Hellmann committed 4a44aa9

run all tests on all shells

  • Participants
  • Parent commits f33eb46

Comments (0)

Files changed (1)

 
 @task
 def test():
-    sh('bash ./tests/test.sh')
-    sh('SHUNIT_PARENT=./tests/test.sh zsh -o shwordsplit ./tests/test.sh')
-    sh('bash ./tests/test_misconfigured.sh')
+    for shell_cmd in [ 'bash', 'sh', 'SHUNIT_PARENT=./tests/test.sh zsh -o shwordsplit' ]:
+        sh('%s ./tests/test.sh' % shell_cmd)
+        sh('%s ./tests/test_misconfigured.sh' % shell_cmd)
     return