mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 22:17:54 +00:00
testsuite: Target for timing all tests
This commit is contained in:
parent
e01a4515fa
commit
4f8b5026ec
|
@ -34,3 +34,9 @@ portable:
|
||||||
# Cache sudo password
|
# Cache sudo password
|
||||||
sudo echo
|
sudo echo
|
||||||
time bash Portable.sh
|
time bash Portable.sh
|
||||||
|
|
||||||
|
timings: tests-to-run/*
|
||||||
|
ls tests-to-run/*3.sh | xargs -n1 echo /usr/bin/time -f %e bash >/tmp/timing.script
|
||||||
|
stdout bash -x /tmp/timing.script >/tmp/timing.out
|
||||||
|
echo usr.bin.time_END >>/tmp/timing.out
|
||||||
|
perl -ne '/usr.bin.time/ and do { print $$last.$$h; $$h=$$_ }; chomp; $$last = $$_' /tmp/timing.out | sort -n >timings
|
||||||
|
|
Loading…
Reference in a new issue