2010-06-09 20:26:59 +00:00
|
|
|
### Test exit val
|
|
|
|
0
|
|
|
|
1
|
|
|
|
### Test --halt-on-error
|
|
|
|
1
|
|
|
|
parallel: Starting no more jobs. Waiting for 2 jobs to finish. This job failed:
|
|
|
|
sleep 2;false
|
|
|
|
1
|
|
|
|
parallel: This job failed:
|
|
|
|
sleep 2;false
|
|
|
|
1
|
|
|
|
sh: non_exist: command not found
|
|
|
|
2
|
|
|
|
parallel: Starting no more jobs. Waiting for 3 jobs to finish. This job failed:
|
2010-06-09 23:56:51 +00:00
|
|
|
sleep 2;false
|
2010-06-09 20:26:59 +00:00
|
|
|
sh: non_exist: command not found
|
|
|
|
parallel: Starting no more jobs. Waiting for 1 jobs to finish. This job failed:
|
2010-06-09 23:56:51 +00:00
|
|
|
sleep 4; non_exist
|
2010-06-09 20:26:59 +00:00
|
|
|
127
|
|
|
|
parallel: This job failed:
|
|
|
|
sleep 2;false
|
|
|
|
1
|
|
|
|
### Test last dying print --halt-on-error
|
|
|
|
0
|
|
|
|
1
|
|
|
|
parallel: Starting no more jobs. Waiting for 9 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 1
|
|
|
|
2
|
|
|
|
parallel: Starting no more jobs. Waiting for 8 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 2
|
|
|
|
3
|
|
|
|
parallel: Starting no more jobs. Waiting for 7 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 3
|
|
|
|
4
|
|
|
|
parallel: Starting no more jobs. Waiting for 6 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 4
|
|
|
|
5
|
|
|
|
parallel: Starting no more jobs. Waiting for 5 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 5
|
|
|
|
6
|
|
|
|
parallel: Starting no more jobs. Waiting for 4 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 6
|
|
|
|
7
|
|
|
|
parallel: Starting no more jobs. Waiting for 3 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 7
|
|
|
|
8
|
|
|
|
0
|
|
|
|
parallel: Starting no more jobs. Waiting for 2 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 8
|
|
|
|
9
|
|
|
|
parallel: Starting no more jobs. Waiting for 1 jobs to finish. This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 9
|
|
|
|
9
|
|
|
|
0
|
|
|
|
1
|
|
|
|
parallel: This job failed:
|
|
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 1
|
|
|
|
1
|