Commit graph

305 commits

Author SHA1 Message Date
Ole Tange 96ba577d85 src/parallel: Fixed bug #39787: --xargs broken; incl test. --delay fixed; incl test. 2013-08-15 19:38:39 +02:00
Ole Tange ee529c2d2a parallel: --record_env and --env _ implemented. Passes test suite. 2013-08-14 20:11:00 +02:00
Ole Tange df204a69fa Test suite for bug #39554: Feature request: line buffered output. 2013-07-30 23:15:40 +02:00
Ole Tange 88540d06a7 testsuite bug #39572: --tty and --joblog do not work.
Passes local testsuite.
2013-07-30 21:21:08 +02:00
Ole Tange dd1a637822 parallel: Use file descriptors instead of STDOUT/STDERR.
Fixed up Polarhome tests.
Passes testsuite.
2013-07-19 19:13:00 +02:00
Ole Tange 56e5118535 src/parallel: Deal with unset $HOME. 2013-07-12 21:19:53 +02:00
Ole Tange 111fa14f57 testsuite: ### bug #39360: --joblog does not work with --pipe. 2013-07-04 17:31:36 +02:00
Ole Tange 8f26244149 testsuite for bug #39360: --joblog does not work with --pipe. 2013-07-04 17:20:50 +02:00
Ole Tange c1f6354375 parallel: Re-fixed bug #37042: -J foo is taken from the whole command line - not just the part before the command 2013-07-04 00:50:08 +02:00
Ole Tange 85ab036518 Released as 20130622 ('Snowden'). 2013-06-22 14:50:48 +02:00
Ole Tange 22f2eedff8 testsuite: Start and stop VirtualBoxes as needed. 2013-06-15 16:12:02 +02:00
Ole Tange 85ab16e26a parallel: Exponential backoff and backon sleep between jobs. 2013-05-26 08:26:18 +02:00
Ole Tange e377032c5d parallel: Work around for "tcgetattr: Invalid argument" in old OpenSSHs. 2013-05-22 00:29:41 +02:00
Ole Tange 5b0be9941c parallel: Code cleanup. Passes local testsuite. 2013-05-11 12:53:17 +02:00
Ole Tange 865f83c4fb Released as 20130422 ('Boston'). 2013-04-21 23:33:02 +02:00
Ole Tange bb0ef1c4cc Passes testsuite. 2013-04-11 21:55:33 +02:00
Ole Tange 0706a95802 testsuite: Polarhome added. 2013-04-08 21:17:59 +02:00
Ole Tange 02bd84afe9 testsuite: Minor speedups. 2013-04-08 16:16:40 +02:00
Ole Tange 828843fa15 testsuite: --env test now much faster.
parallel: Small code cleanup.
2013-03-24 19:36:56 +01:00
Ole Tange bad78163c7 Passes testsuite. 2013-03-24 17:24:59 +01:00
Ole Tange 260a92e1fe testsuite/tests-to-run/test60.sh: More solid. 2013-03-23 21:46:00 +01:00
Ole Tange c6b229e67a testsuite/tests-to-run/parallel-local164.sh: Test used old version of parallel. 2013-03-23 21:45:11 +01:00
Ole Tange f1419ef073 testsuite: test35 more parallel. 2013-03-23 21:44:17 +01:00
Ole Tange ab7f892cba testsuite reorg. 2013-03-23 21:39:48 +01:00
Ole Tange 7a8bd820ac src/parallel: If --load is a file: Recheck it every time max_loadavg is called. 2013-03-23 21:36:17 +01:00
Ole Tange 3b752a668c Fixed bug #38441: CPU usage goes to 100% if load is higher than --load at first job. 2013-03-07 00:16:53 +01:00
Ole Tange 93dd376c69 Fixed bug #38439: "open files" with --files --pipe blocks after a while. 2013-03-04 21:50:51 +01:00
Ole Tange d5fa05b425 Fixed bug #38354: -J profile_name should read from pwd/profile_name before ~/.parallel/profile_name 2013-03-03 13:45:31 +01:00
Ole Tange 21c62a2545 Small adjustments. Passes testsuite. 2013-02-14 23:08:17 +01:00
Ole Tange cf38b9078c parallel: --keep-order --resume-failed works. 2013-02-13 01:15:37 +01:00
Ole Tange f948768a1f parallel: Negative positional arguments (no context. No -X). 2013-02-12 21:52:01 +01:00
Ole Tange c0b620c832 parallel: Added support for negative positional replacement strings {-1}. 2013-02-12 21:22:24 +01:00
Ole Tange 1de3edfb57 parallel: --resume-failed works with --pipe. 2013-02-11 23:47:11 +01:00
Ole Tange 58750eecaa testsuite: Fixed racecondition giving false errors. 2013-02-04 22:15:41 +01:00
Ole Tange 193935f0e5 parallel: More efficient --pile -L. Passes testsuite-local. 2013-02-02 22:20:36 +01:00
Ole Tange a92f10b6ee testsuite: Nicer test with -l --block. 2013-02-01 20:42:45 +01:00
Ole Tange 8d7e0f4a4f testsuite: Test for --sshdelay. Fixed other tests. 2013-01-21 23:10:34 +01:00
Ole Tange d847c932f5 Version update. Small --tty test. 2013-01-09 23:06:01 +01:00
Ole Tange 2c641b47d0 testsuite: reorg. 2012-12-28 21:30:30 +01:00
Ole Tange 3dc78c8715 testsuite: parallelized a few tests. 2012-12-28 11:46:35 +01:00
Ole Tange 1cea71c611 Released as 20121222 ('End of The World'). 2012-12-22 17:23:10 +01:00
Ole Tange b6056bb876 Fixed: bug #37956: --colsep does not default to '\t' as specified in the man page. 2012-12-19 15:37:36 +01:00
Ole Tange fd6044b0dc niceload: --prg implemented. 2012-12-10 23:16:25 +01:00
Ole Tange 80d83aa489 niceload: multiple -p 2012-12-10 21:57:00 +01:00
Ole Tange 22a9ac5390 parallel: bug #37849: --results should create subdirs. With test. 2012-12-03 23:28:10 +01:00
Ole Tange 59a1d67b59 niceload: test + bugfix for --sensor 2012-12-03 00:02:51 +01:00
Ole Tange 111c7384f7 niceload --sensor ... -l with negative number means: Run if values less than number. 2012-12-02 21:11:27 +01:00
Ole Tange bc0f7701ec Implemented --delay. 2012-11-26 22:57:07 +01:00
Ole Tange 4688ba04c9 parallel: Fixed bug #37680: --wd ... not working 2012-11-26 21:19:14 +01:00
Ole Tange 6921d28f9a parallel: Fixed bug #37325: Inefficiency of --pipe -L 2012-11-26 00:19:58 +01:00
Ole Tange a8a451c60c Fixed bug #37694: Empty string argument skipped when using --quote 2012-11-24 17:33:15 +01:00
Ole Tange eb3b6fb00e parallel --shebang-warp --pipe works. With test. 2012-11-22 23:43:49 +01:00
Ole Tange 54e3e264a3 testsuite for --shebang-wrap. :::: is suboptimal. 2012-11-22 23:19:00 +01:00
Ole Tange 0b1896c368 parallel --shebang-warp for ::: works. 2012-11-22 12:10:45 +01:00
Ole Tange 70052b8b68 testsuite: new tests. 2012-11-21 22:32:50 +01:00
Ole Tange 6748cf82c8 Unittest adapted. 2012-11-21 22:28:52 +01:00
Ole Tange 4fe6902d52 testsuite: Moved to parallel-local16..18. 2012-11-20 00:50:32 +01:00
Ole Tange b342a1562d testsuite/tests-to-run/parallel-virtualbox1.sh: Use whoami instead of tange. 2012-11-20 00:45:59 +01:00
Ole Tange 827aae3c07 testsuite: less fragile. 2012-11-20 00:45:05 +01:00
Ole Tange ce19870938 testsuite: Less fragile. 2012-11-20 00:42:19 +01:00
Ole Tange 9c8a03bdf2 testsuite: niceload: The most fragile tests split off. 2012-11-20 00:39:25 +01:00
Ole Tange f6a6a35309 testsuite: niceload impoved. Fewer --env tests. 2012-10-22 23:08:54 +02:00
Ole Tange 75f54b795f testsuite: virtualbox added. Other tests made more portable. 2012-10-22 08:32:39 +02:00
Ole Tange d9675d0bd0 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	src/parallel
	testsuite/tests-to-run/parallel-local2.sh
2012-10-17 02:16:01 +02:00
Ole Tange fcaf41b325 parallel: Fixed to pass local testsuite and some Perl::Critic issues. 2012-10-17 02:09:03 +02:00
Ole Tange dd5093f8b4 parallel: --env includes test + man and works for t?csh, too. 2012-10-15 15:47:10 +02:00
Ole Tange 7a2e3d731b parallel: fixed --results if argument contains \t \0 and /. This may have destroyed default --colsep=\t. 2012-10-01 11:30:16 +02:00
Ole Tange c8051ced91 parallel: --results now with header \t value filenames. 2012-10-01 00:04:52 +02:00
Ole Tange 1f5be2bb43 parallel: --env implemented. Test fails, man page missing. 2012-09-23 23:21:13 +02:00
Ole Tange 810b6fdc93 parallel: --number-of-cpus bug on Linux 2.6.26 fixed. 2012-09-03 23:09:00 +02:00
Ole Tange d7961606b4 testsuite: 'ren' no longer needed. 2012-08-13 20:17:14 +02:00
Ole Tange b6a729c5f7 testsuite: mop removed. Works better on heavy loaded machine. 2012-08-08 23:57:01 +02:00
Ole Tange 594ca7576a testsuite: Getting rid of 'mop'. 2012-08-08 22:39:50 +02:00
Ole Tange ec76d20b25 parallel: --plain + man + test implemented. Passes testsuite. 2012-08-08 21:25:18 +02:00
Ole Tange 783d2d42f3 parallel: Error and warning sub to ensure consistent errors and warnings. 2012-08-08 18:38:29 +02:00
Ole Tange ed6903976b Better support for limited number of processes in process table. 2012-08-07 00:52:08 +02:00
Ole Tange bea6102042 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel 2012-07-19 16:37:18 +02:00
Ole Tange 88c50259d8 parallel: Fixed bug #36707: --controlmaster eats jobs 2012-06-28 22:38:14 +07:00
Ole Tange 045ed19142 Released as 20120622 ('Chiang Mai') 2012-06-23 07:34:35 +02:00
Ole Tange 888c5999a2 Passes testsuite. 2012-06-15 00:46:15 +02:00
Ole Tange 05e66ecaa5 Fixed bug #34958: --pipe with --record size measured in lines. 2012-06-14 23:13:11 +02:00
Ole Tange 7a76e79185 Fixed bug #36657: --load does not work with custom ssh. 2012-06-14 22:30:24 +02:00
Ole Tange 67d4db2279 Fixed bug #36660: --workdir mkdir does not use --sshlogin custom ssh. 2012-06-14 22:19:49 +02:00
Ole Tange 72402ef16e Fixed bug #36659: --sshlogin strips leading slash from ssh command. 2012-06-14 22:10:39 +02:00
Ole Tange 2c29653012 parallel: --shebang now works even if crazy people name their executable "<> or space. 2012-06-08 23:45:06 +02:00
Ole Tange 38ccd3f193 Fixed with test: bug #36595: silent loss of input with --pipe and --sshlogin. 2012-06-08 01:07:25 +02:00
Ole Tange 22b295cef1 parallel: --pipe now forks instead of busy looping. 2012-05-24 02:03:57 +02:00
Ole Tange 91899593fc Released as 20120522 ('Hollande'). 2012-05-22 20:36:20 +02:00
Ole Tange 398e78e8cd Passes testsuite. 2012-05-13 16:32:46 +02:00
Ole Tange b35e5ff721 Reorg of testsuite. 2012-05-13 16:03:41 +02:00
Ole Tange 1371108e64 Fixed with test: Test bug #35820: sem breaks if $HOME is not writable 2012-05-13 16:03:13 +02:00
Ole Tange 29726eee6e parallel: added --tagstring + man + test.
parallel.pod: Elaborated on problems with -u.
2012-05-06 12:43:40 +02:00
Ole Tange 944cfd0026 testsuite: added target 'local' for local tests. Removed some empty tests. 2012-05-06 00:20:10 +02:00
Ole Tange 129ebd4fab testsuite: Renamed files that can run without network. 2012-05-06 00:02:08 +02:00
Ole Tange 6485581f5a parallel: test for --er and --extensionreplace 2012-04-24 23:59:29 +02:00
Ole Tange 457320998f Fixed: bug #36260: {n} expansion in --colsep files fails for empty fields if all following fields are also empty 2012-04-20 20:49:40 +02:00
Ole Tange f4f5fdd6c6 Fixed: bug #36139: --load causes parallel not to finish 2012-04-09 16:31:05 +02:00
Ole Tange 0659327dd5 test38.sh: Perl 5.14 seems to break test of old perl. perl32 binary included. 2012-03-22 01:19:51 +01:00
Ole Tange f08db40a33 bug #35427: quoting of {2} broken for --onall.
bug #35803: sentence structure / wrong spelling in manpage.
2012-03-12 23:38:38 +01:00
Ole Tange 513089c881 Fixed bug #35469: niceload --process" doesn't work after July-2011 release. 2012-03-04 02:24:37 +01:00
Ole Tange bcebac44b1 bug #35544: --pipe would read from :::: (-a) 2012-02-27 01:51:54 +01:00
Ole Tange 9fd2f95bf3 OBS did not compile due to missing pod2texi. 2012-02-21 20:06:23 +00:00
Ole Tange 587c5e23be Released as 20120220 alpha. 2012-02-20 23:40:47 +00:00
Ole Tange 3e996c9a57 --wd . implemented. Passes testsuite. 2012-02-20 00:48:28 +00:00
Ole Tange 5e8e95ecf0 parallel: --header with {colnames} for multiple :::'s 2012-01-22 04:42:05 +01:00
Ole Tange 7d75bde672 parallel: Fixed regression bug. 2012-01-11 23:07:31 +01:00
Ole Tange c34e6c489c parallel: --header with regexp (try: --header '\n') 2012-01-11 00:08:23 +01:00
Ole Tange 08e1366c5d parallel: limit memory consumption if only 1 input source. 2012-01-10 21:58:39 +01:00
Ole Tange 3009913a66 bug #35268: shell_quote doesn't treats [] brackets correctly.
Merging of tests.
2012-01-10 00:09:01 +01:00
Ole Tange 7bd02750a5 niceload now propagates exit status correctly. Passes testsuite. 2012-01-08 19:52:00 +01:00
Ole Tange 92d7c462e7 parallel: --header will now parse the first line and you can use column names as {colname}. Experimental => man missing. 2012-01-07 04:22:48 +01:00
Ole Tange 8c4b0ba4b9 parallel: --header will now parse the first line and you can use column names as {colname}. 2012-01-07 04:17:13 +01:00
Ole Tange fc65ca9626 parallel: implemented --resume incl. test. 2012-01-07 03:29:48 +01:00
Ole Tange dbfb878246 parallel: retired -g -B -T -U -W -Y 2012-01-07 02:24:50 +01:00
Ole Tange 7422375902 Released as 20111222 ('Hitchens'). 2011-12-22 00:17:49 +01:00
Ole Tange 6f3da78d6c bug #35069: --pipe without command should give reasonable error message. 2011-12-18 21:49:37 +01:00
Ole Tange 637f5391af -S + --timeout did not repect --timeout. 2011-12-11 00:16:41 +01:00
Ole Tange 8a7f45c6a2 Fixed bug #34955: Timed-out processes are not identified as failures.
Fixed bug #34954: --timeout should kill process groups.
Released as 20111209 alpha.
2011-12-09 23:25:20 +01:00
Ole Tange 4612f69097 parallel: tcsh does not allow 'nice -n19', so use full path for nice. 2011-11-15 01:15:23 +01:00
Ole Tange f91661b86b Fixes bug #34422: parallel -X --eta crashes with div by zero 2011-10-18 00:04:20 +02:00
Ole Tange 0cd02204c4 parallel: Multiple --sshloginfile supported. Passes testsuite. 2011-10-17 03:10:32 +02:00
Ole Tange a25961d8d5 parallel: support for multiple --profile. 2011-10-13 23:58:02 +02:00
Ole Tange 986f69db11 parallel: fixed bug #33995: Jobs executed with sh instead of $SHELL 2011-09-24 02:35:16 +02:00
Ole Tange 9fad573774 parallel: implemented --tag 2011-09-24 02:16:06 +02:00
Ole Tange d0f6c9a0aa parallel: { and } were not quoted correctly so this would fail:
echo a b | parallel --pipe -q awk '{print $2, $1}'
2011-09-16 15:26:17 +02:00
Ole Tange c48c5fb7b9 parallel: Implemented --shellquote 2011-09-09 21:15:00 +02:00
Ole Tange 795c0fa3bd Fixes: bug #34240: --pipe does not respect -r 2011-09-08 10:53:26 +02:00
Ole Tange 38b1fe9a41 Implemented --timeout with testsuite. Updated man page for release. 2011-08-22 01:01:57 +02:00
Ole Tange 11ff97cd2e testsuite passes. 2011-08-21 00:39:14 +02:00
Ole Tange 0648fc5846 parallel: --nonall/onall now respect --basefile. Does NOT pass testsuite. 2011-08-20 21:13:25 +02:00
Ole Tange 6d242f975e testsuite more parallel. Passes testsuite. 2011-07-29 13:45:34 +02:00
Ole Tange ab899c36a6 parallel: fixed with test case bug #33623: --load doesn't parse percentage or filename arguments.
parallel: Empty job caused not being run in parallel.
2011-07-28 21:09:27 +02:00
Ole Tange 8d13ddebbe niceload: --recheck was not respected. More test suite cases.
alpha/beta testing in man page updated.
2011-07-22 10:47:14 +02:00
Ole Tange e93df253fc testsuite: niceload redone. Some tests are now run in parallel. Passes testsuite. 2011-07-21 01:58:23 +02:00
Ole Tange ab1fe956ea niceload: --run-* --start-* --io implemented.
Testsuite extended (untested).
man page updated.
2011-07-19 16:44:14 +02:00
Ole Tange c2a2b34abf Fixed bug #33740: If the remote computer runs CSH the remote does not set PARALLEL_* vars correctly. 2011-07-17 03:03:57 +02:00
Ole Tange cf2b12eea8 Fixed bug #33743: -q quotes # in {#}. 2011-07-17 02:22:39 +02:00
Ole Tange fe8a8aa41b Fixed bug #33630: -L and -N do not do context replace.
--bner alias for --basenameextensionreplace.
2011-07-17 01:46:02 +02:00
Ole Tange ccaa30b4c3 parallel: Fixes #33621: --bg -p should give an error message.
Includes testsuite.
Fixup of error msgs.
2011-06-23 00:12:16 +02:00
Ole Tange 6bcba83499 parallel: Fixed -u with test. Passes testsuite. 2011-06-22 01:14:59 +02:00
Ole Tange be3dfd01de parallel: Added test for --joblog 2011-06-12 01:43:34 +02:00
Ole Tange ac928cf936 parallel: added '-' as valid input file for -S. Fixed bug for empty lines '| parallel'. 2011-06-03 14:53:14 +02:00
Ole Tange f05105ab62 test61: More tests with -X {}-{.} with multiple input sources 2011-05-31 23:12:03 +02:00
Ole Tange 7b7bfdc6e0 test46.sh: Add stdout to force this to fail more noisely. 2011-05-31 22:07:59 +02:00
Ole Tange b6928fdedc the ; will be repeated because of -X 2011-05-31 22:04:12 +02:00
Ole Tange 0979c6009e Added test for multiple {} in a composed command 2011-05-31 20:48:00 +02:00
Ole Tange 8d8335728a Added simple test for --return of weirdly named file 2011-05-31 20:04:46 +02:00
Ole Tange 5377e4d66d Added test for {//} 2011-05-31 19:54:14 +02:00
Ole Tange bd18c891fc Fixed race condition in test 2011-05-31 19:53:25 +02:00
Ole Tange b84663bac8 parallel: test added for --onall 2011-05-28 16:33:22 +02:00