mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-29 09:27:56 +00:00
testsuite: added target 'local' for local tests. Removed some empty tests.
This commit is contained in:
parent
129ebd4fab
commit
944cfd0026
|
@ -1,4 +1,12 @@
|
||||||
testsuite: ../src/parallel tests-to-run/* wanted-results/* startdb
|
testsuite: ../src/parallel tests-to-run/* wanted-results/* startdb prereq
|
||||||
|
time sh Start.sh
|
||||||
|
date
|
||||||
|
|
||||||
|
local: ../src/parallel tests-to-run/*local* wanted-results/*local* startdb prereq
|
||||||
|
time sh Start.sh local
|
||||||
|
date
|
||||||
|
|
||||||
|
prereq: installparallel
|
||||||
echo | mop || (echo mop is required for testsuite; /bin/false)
|
echo | mop || (echo mop is required for testsuite; /bin/false)
|
||||||
seq 1 2 | mop || (echo seq is required for testsuite; /bin/false)
|
seq 1 2 | mop || (echo seq is required for testsuite; /bin/false)
|
||||||
stdout echo || (echo stdout is required for testsuite; /bin/false)
|
stdout echo || (echo stdout is required for testsuite; /bin/false)
|
||||||
|
@ -14,8 +22,9 @@ testsuite: ../src/parallel tests-to-run/* wanted-results/* startdb
|
||||||
which burnP6 || (echo burnP6 is required for testsuite; /bin/false)
|
which burnP6 || (echo burnP6 is required for testsuite; /bin/false)
|
||||||
which timeout || (echo timeout is required for testsuite; /bin/false)
|
which timeout || (echo timeout is required for testsuite; /bin/false)
|
||||||
parallel ssh parallel@parallel-server{} parallel --minversion 20100101 ::: 1 2 3 || (echo parallel on remote required for testsuite; /bin/true)
|
parallel ssh parallel@parallel-server{} parallel --minversion 20100101 ::: 1 2 3 || (echo parallel on remote required for testsuite; /bin/true)
|
||||||
time sh Start.sh
|
|
||||||
date
|
installparallel: ../src/parallel
|
||||||
|
cd .. && make -j && sudo make -j install
|
||||||
|
|
||||||
startdb:
|
startdb:
|
||||||
sudo parallel /etc/init.d/{} start ::: postgresql mysql oracle-xe
|
sudo parallel /etc/init.d/{} start ::: postgresql mysql oracle-xe
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
export LANG=C
|
export LANG=C
|
||||||
SHFILE=/tmp/unittest-parallel.sh
|
SHFILE=/tmp/unittest-parallel.sh
|
||||||
|
|
||||||
ls -t tests-to-run/*.sh \
|
ls -t tests-to-run/*${1}*.sh \
|
||||||
| perl -pe 's:(.*/(.*)).sh:bash $1.sh > actual-results/$2; diff -Naur wanted-results/$2 actual-results/$2:' \
|
| perl -pe 's:(.*/(.*)).sh:bash $1.sh > actual-results/$2; diff -Naur wanted-results/$2 actual-results/$2:' \
|
||||||
>$SHFILE
|
>$SHFILE
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15.sh
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15.sh
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test12
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Moved to test15
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash -x
|
|
||||||
|
|
Loading…
Reference in a new issue