mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 07:27:55 +00:00
testsuite: Start and stop VirtualBoxes as needed.
This commit is contained in:
parent
6b904c5382
commit
22f2eedff8
|
@ -183,9 +183,9 @@ cc:Sandro Cazzaniga <kharec@mandriva.org>,
|
|||
Ryoichiro Suzuki <ryoichiro.suzuki@gmail.com>,
|
||||
Jesse Alama <jesse.alama@gmail.com>
|
||||
|
||||
Subject: GNU Parallel 20130522 ('Rana Plaza') released
|
||||
Subject: GNU Parallel 20130622 ('') released
|
||||
|
||||
GNU Parallel 20130522 ('Rana Plaza') has been released. It is
|
||||
GNU Parallel 20130622 ('') has been released. It is
|
||||
available for download at: http://ftp.gnu.org/gnu/parallel/
|
||||
|
||||
The changes for this release has been in the core of the code, so this
|
||||
|
@ -196,6 +196,9 @@ New in this release:
|
|||
* Developer job asking for GNU Parallel expertise:
|
||||
http://careers.stackoverflow.com/jobs/35562/developer-big-data-geo-and-web-climate-central
|
||||
|
||||
https://github.com/dlh/youtube-dl-parallel
|
||||
http://blog.cogneurostats.com/?p=148
|
||||
|
||||
* Bug fixes and man page updates.
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
testsuite: ../src/parallel tests-to-run/* wanted-results/* prereqlocal startdb prereqremote
|
||||
time sh Start.sh
|
||||
time sh Start.sh || true
|
||||
date
|
||||
make stopvm
|
||||
|
||||
3: ../src/parallel tests-to-run/* wanted-results/* startdb prereqlocal prereqremote
|
||||
TRIES=3 time sh Start.sh
|
||||
TRIES=3 time sh Start.sh || true
|
||||
date
|
||||
make stopvm
|
||||
|
||||
testdb: ../src/parallel tests-to-run/*sql* wanted-results/*sql* prereqdb
|
||||
time sh Start.sh sql
|
||||
|
@ -30,10 +32,19 @@ prereqlocal: installparallel
|
|||
which burnP6 || (echo burnP6 is required for testsuite; /bin/false)
|
||||
which timeout || (echo timeout is required for testsuite; /bin/false)
|
||||
|
||||
prereqremote: installparallel
|
||||
prereqremote: installparallel startvm
|
||||
parallel ssh parallel@parallel-server{} parallel --minversion 20121021 ::: 1 2 3 || (echo parallel on remote required for testsuite; /bin/true)
|
||||
|
||||
startvm:
|
||||
# Make sure we can reach the virtual machines
|
||||
sudo ifconfig wlan0:0 192.168.1.72
|
||||
parallel ssh parallel@parallel-server{} parallel --minversion 20121021 ::: 1 2 3 || (echo parallel on remote required for testsuite; /bin/true)
|
||||
# If they are already running: Don't fail
|
||||
VBoxManage startvm CentOS3-root:centos3 || true
|
||||
VBoxManage startvm RedHat9-root:redhat9 || true
|
||||
|
||||
stopvm:
|
||||
VBoxManage controlvm CentOS3-root:centos3 savestate
|
||||
VBoxManage controlvm RedHat9-root:redhat9 savestate
|
||||
|
||||
installparallel: ../src/parallel
|
||||
cd .. && make -j && sudo make -j install
|
||||
|
|
|
@ -6,6 +6,16 @@ echo `whoami`"@centos3"
|
|||
echo `whoami`"@centos5"
|
||||
echo `whoami`"@freebsd7"
|
||||
|
||||
VBoxManage startvm CentOS3-root:centos3 >/dev/null 2>&1
|
||||
VBoxManage startvm CentOS5-root:centos5 >/dev/null 2>&1
|
||||
VBoxManage startvm RedHat9-root:redhat9 >/dev/null 2>&1
|
||||
VBoxManage startvm FreeBSD71 >/dev/null 2>&1
|
||||
|
||||
echo "### bug #37589: Red Hat 9 (Shrike) perl v5.8.0 built for i386-linux-thread-multi error"
|
||||
cp `which parallel` /tmp/parallel
|
||||
stdout parallel -kj10 --argsep == --basefile /tmp/parallel --tag --nonall -S redhat9.tange.dk,centos3.tange.dk,centos5.tange.dk,freebsd7.tange.dk /tmp/parallel echo ::: OK_if_no_perl_warnings | sort
|
||||
|
||||
#VBoxManage controlvm CentOS3-root:centos3 savestate
|
||||
VBoxManage controlvm CentOS5-root:centos5 savestate
|
||||
#VBoxManage controlvm RedHat9-root:redhat9 savestate
|
||||
VBoxManage controlvm FreeBSD71 savestate
|
||||
|
|
|
@ -14,7 +14,7 @@ echo "### BUG: The length for -X is not close to max (131072)";
|
|||
seq 1 60000 | nice parallel -X echo {} aa {} |head -n 1 |wc
|
||||
|
||||
echo '### bug #32191: Deep recursion on subroutine main::get_job_with_sshlogin'
|
||||
seq 1 150 | stdout parallel -j9 --retries 2 -S localhost,: "/bin/non-existant 2>/dev/null"
|
||||
seq 1 150 | stdout nice parallel -j9 --retries 2 -S localhost,: "/bin/non-existant 2>/dev/null"
|
||||
|
||||
echo '### Test --load locally - should take >10s'
|
||||
echo '# This will run 10 processes in parallel for 10s';
|
||||
|
@ -28,13 +28,13 @@ echo '### Test --load remote'
|
|||
echo '### Test --load read from a file - more than 3s'
|
||||
echo '# This will run 10 processes in parallel for 10s';
|
||||
seq 10 | parallel --nice 19 --timeout 10 -j0 -N0 "gzip < /dev/zero > /dev/null" &
|
||||
( echo 8 > /tmp/parallel_load_file; sleep 4; echo 1000 > /tmp/parallel_load_file ) &
|
||||
sleep 1;stdout /usr/bin/time -f %e parallel --load /tmp/parallel_load_file sleep ::: 1 | perl -ne '$_ > 3 and print "OK\n"'
|
||||
( echo 8 > /tmp/parallel_load_file; sleep 10; echo 1000 > /tmp/parallel_load_file ) &
|
||||
sleep 1;stdout /usr/bin/time -f %e parallel --load /tmp/parallel_load_file sleep ::: 1 | perl -ne '$_ > 9 and print "OK\n"'
|
||||
|
||||
echo '### Test --load read from a file - less than 10s';
|
||||
echo '# This will run 10 processes in parallel for 10s';
|
||||
seq 10 | parallel --nice 19 --timeout 10 -j0 -N0 "gzip < /dev/zero > /dev/null" &
|
||||
( echo 8 > /tmp/parallel_load_file2; sleep 4; echo 1000 > /tmp/parallel_load_file2 ) &
|
||||
sleep 1;stdout /usr/bin/time -f %e parallel --load /tmp/parallel_load_file2 sleep ::: 1 | perl -ne '$_ < 10 and print "OK\n"'
|
||||
( echo 8 > /tmp/parallel_load_file2; sleep 10; echo 1000 > /tmp/parallel_load_file2 ) &
|
||||
sleep 1;stdout /usr/bin/time -f %e parallel --load /tmp/parallel_load_file2 sleep ::: 1 | perl -ne '$_ < 20 and print "OK\n"'
|
||||
|
||||
EOF
|
||||
|
|
|
@ -72,14 +72,6 @@ mandriva.polarhome.com Mandriva Linux release 2010.2 (Official) for x86_64
|
|||
mandriva.polarhome.com Mandriva Linux release 2010.2 (Official) for x86_64
|
||||
mandriva.polarhome.com Welcome to Mandrake/Mandriva ...member of polarhome.com realm
|
||||
mandriva.polarhome.com Welcome to Mandrake/Mandriva ...member of polarhome.com realm
|
||||
miros.polarhome.com
|
||||
miros.polarhome.com
|
||||
miros.polarhome.com
|
||||
miros.polarhome.com
|
||||
miros.polarhome.com MirBSD/i386
|
||||
miros.polarhome.com MirBSD/i386
|
||||
miros.polarhome.com Welcome to MirOS ...member of polarhome.com realm
|
||||
miros.polarhome.com Welcome to MirOS ...member of polarhome.com realm
|
||||
netbsd.polarhome.com
|
||||
netbsd.polarhome.com
|
||||
netbsd.polarhome.com
|
||||
|
@ -146,7 +138,6 @@ ssh hurd.polarhome.com rm -f bin/parallel;scp bin/parallel hurd.polarhome.com:bi
|
|||
ssh irix.polarhome.com rm -f bin/parallel;scp bin/parallel irix.polarhome.com:bin/
|
||||
ssh mandriva.polarhome.com rm -f bin/parallel;scp bin/parallel mandriva.polarhome.com:bin/
|
||||
ssh minix.polarhome.com rm -f bin/parallel;scp bin/parallel minix.polarhome.com:bin/
|
||||
ssh miros.polarhome.com rm -f bin/parallel;scp bin/parallel miros.polarhome.com:bin/
|
||||
ssh netbsd.polarhome.com rm -f bin/parallel;scp bin/parallel netbsd.polarhome.com:bin/
|
||||
ssh openbsd.polarhome.com rm -f bin/parallel;scp bin/parallel openbsd.polarhome.com:bin/
|
||||
ssh openindiana.polarhome.com rm -f bin/parallel;scp bin/parallel openindiana.polarhome.com:bin/
|
||||
|
@ -224,11 +215,6 @@ mandriva.polarhome.com Mandriva Linux release 2010.2 (Official) for x86_64
|
|||
mandriva.polarhome.com Welcome to Mandrake/Mandriva ...member of polarhome.com realm
|
||||
mandriva.polarhome.com Works on mandriva.polarhome.com
|
||||
minix.polarhome.com Works on minix.polarhome.com
|
||||
miros.polarhome.com
|
||||
miros.polarhome.com
|
||||
miros.polarhome.com MirBSD/i386
|
||||
miros.polarhome.com Welcome to MirOS ...member of polarhome.com realm
|
||||
miros.polarhome.com Works on miros.polarhome.com
|
||||
netbsd.polarhome.com
|
||||
netbsd.polarhome.com
|
||||
netbsd.polarhome.com NetBSD 5.1
|
||||
|
|
Loading…
Reference in a new issue