testsuite: added target 'local' for local tests. Removed some empty tests.

This commit is contained in:
Ole Tange 2012-05-06 00:20:10 +02:00
parent 129ebd4fab
commit 944cfd0026
28 changed files with 13 additions and 40 deletions

View file

@ -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)
seq 1 2 | mop || (echo seq 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 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)
time sh Start.sh
date
installparallel: ../src/parallel
cd .. && make -j && sudo make -j install
startdb:
sudo parallel /etc/init.d/{} start ::: postgresql mysql oracle-xe

View file

@ -3,7 +3,7 @@
export LANG=C
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:' \
>$SHFILE

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test15

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test15

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test15

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test15

View file

@ -1,2 +0,0 @@
#!/bin/bash

View file

@ -1,4 +0,0 @@
#!/bin/bash
# Moved to test15.sh

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test15.sh

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test15

View file

@ -1,2 +0,0 @@
#!/bin/bash

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test12

View file

@ -1,3 +0,0 @@
#!/bin/bash
# Moved to test15

View file

@ -1,2 +0,0 @@
#!/bin/bash

View file

@ -1,2 +0,0 @@
#!/bin/bash -x