2011-07-29 11:45:34 +00:00
|
|
|
### Test --halt-on-error 0
|
|
|
|
1
|
|
|
|
2
|
2013-07-19 17:13:00 +00:00
|
|
|
/bin/bash: non_exist: command not found
|
|
|
|
**
|
|
|
|
### Test --halt-on-error 1
|
|
|
|
1
|
|
|
|
127
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 2 jobs to finish. This job failed:
|
|
|
|
sleep 2;false
|
2011-10-17 01:10:32 +00:00
|
|
|
/bin/bash: non_exist: command not found
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 3 jobs to finish. This job failed:
|
|
|
|
sleep 2;false
|
|
|
|
parallel: Starting no more jobs. Waiting for 1 jobs to finish. This job failed:
|
|
|
|
sleep 4; non_exist
|
2013-07-19 17:13:00 +00:00
|
|
|
**
|
|
|
|
### Test --halt-on-error 2
|
|
|
|
1
|
2011-07-29 11:45:34 +00:00
|
|
|
1
|
|
|
|
parallel: This job failed:
|
|
|
|
sleep 2;false
|
|
|
|
parallel: This job failed:
|
|
|
|
sleep 2;false
|
2013-07-19 17:13:00 +00:00
|
|
|
**
|
|
|
|
### Test last dying print --halt-on-error 1
|
|
|
|
exit code 9
|
2011-07-29 11:45:34 +00:00
|
|
|
0
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
0
|
|
|
|
9
|
|
|
|
parallel: Starting no more jobs. Waiting for 9 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 1
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 8 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 2
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 7 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 3
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 6 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 4
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 5 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 5
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 4 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 6
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 3 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 7
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 2 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 8
|
2011-07-29 11:45:34 +00:00
|
|
|
parallel: Starting no more jobs. Waiting for 1 jobs to finish. This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 9
|
2013-07-19 17:13:00 +00:00
|
|
|
### Test last dying print --halt-on-error 2
|
|
|
|
exit code 1
|
2011-07-29 11:45:34 +00:00
|
|
|
0
|
|
|
|
1
|
|
|
|
parallel: This job failed:
|
2012-01-09 23:09:01 +00:00
|
|
|
perl -e sleep\ \$ARGV\[0\]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 1
|
2013-07-19 17:13:00 +00:00
|
|
|
**
|
2011-07-29 11:45:34 +00:00
|
|
|
### Test slow arguments generation - https://savannah.gnu.org/bugs/?32834
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|