Commit 2ac26af8 authored by Mathieu Giraud's avatar Mathieu Giraud

src/should.py: do not run at all the commands when unmet !REQUIRES or !NO_LAUNCHER

fix #65
parent 9864d82b
Pipeline #2726 passed with stages
in 21 seconds
......@@ -981,13 +981,14 @@ class TestSuite():
continue
# Launch the command
test_lines, exit_test = self.launch([current_cmd], verbose, colorize)
self.one_test(exit_test, test_lines, verbose, colorize)
if not self.skip:
test_lines, exit_test = self.launch([current_cmd], verbose, colorize)
self.one_test(exit_test, test_lines, verbose, colorize)
self.cmds.append(current_cmd)
current_test_lines += test_lines
self.test_lines += test_lines
self.cmds.append(current_cmd)
current_cmd = ''
current_test_lines += test_lines
self.test_lines += test_lines
# end of loop on should_lines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment