Mentions légales du service

Skip to content
Snippets Groups Projects

Do not run the commands when unmet !REQUIRES or !NO_LAUNCHER, fix also !OUTPUT_FILE

Merged Mathieu Giraud requested to merge 65-bug-no-launcher into dev
2 files
+ 23
9
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
6
@@ -11,13 +11,13 @@ $ The command is not run, several tests do fail
: failed
(cat demo/cal.should ; echo "!NO_LAUNCHER:" ; cat demo/hello.should) > demo/tests/no-launcher.should
(cat demo/tests/foo.should ; echo "!NO_LAUNCHER:" ; cat demo/tests/bar.should) > demo/tests/no-launcher.should
./should --launcher echo -v demo/tests/no-launcher.should ; true
$ The first part is launched with 'echo'
: LC_ALL=C cal 2001
0: October
: failed
$ The first tests, in foo.should, are launched with 'echo'
b: echo echo foo
: 1: foo
$ The second one runs are skipped
$ The second tests, in bar.should, are skipped
: Skipping tests: !NO_LAUNCHER:
0: bar
\ No newline at end of file
Loading