Skip to content

Commit

Permalink
exclude tests directory form old-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Aug 31, 2011
1 parent b5f27b9 commit a8f57f0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
11 changes: 8 additions & 3 deletions testsuite/octave_modular/test_all.sh
Expand Up @@ -3,10 +3,15 @@
DATAPATH='../data'

function test_all () {
dir=${1}
echo "*** Testing in ${dir}"
datapath=${1}

if echo "$datapath" | grep -q '\.\./data/tests'
then
continue
fi
echo "*** Testing in ${datapath}"
sleep 1
for file in ${dir}; do
for file in ${datapath}; do
echo -n "${file}"
echo -n -e "\t\t"

Expand Down
6 changes: 6 additions & 0 deletions testsuite/python_static/test_all.sh
Expand Up @@ -6,6 +6,12 @@ DATAPATH='../data'

function test_all () {
datapath="$1"

if echo "$datapath" | grep -q '\.\./data/tests'
then
continue
fi

echo "*** Testing in $datapath"
sleep 1
for file in $datapath; do
Expand Down
12 changes: 9 additions & 3 deletions testsuite/r_modular/test_all.sh
Expand Up @@ -3,10 +3,16 @@
DATAPATH='../data'

function test_all () {
dir=${1}
echo "*** Testing in ${dir}"
datapath=${1}

if echo "$datapath" | grep -q '\.\./data/tests'
then
continue
fi

echo "*** Testing in ${datapath}"
sleep 1
for file in ${dir}; do
for file in ${datapath}; do
dump=`echo ${file} | grep WDSVMOcas`
if [ $? -eq 0 ]; then
echo WDSVMOcas totally unsupported: ERROR
Expand Down
13 changes: 10 additions & 3 deletions testsuite/r_static/test_all.sh
Expand Up @@ -3,10 +3,17 @@
DATAPATH='../data'

function test_all () {
dir=${1}
echo "*** Testing in ${dir}"
datapath=${1}

if echo "$datapath" | grep -q '\.\./data/tests'
then
continue
fi

echo "*** Testing in ${datapath}"

sleep 1
for file in ${dir}; do
for file in ${datapath}; do
dump=`echo ${file} | grep WDSVMOcas`
if [ $? -eq 0 ]; then
echo WDSVMOcas totally unsupported: ERROR
Expand Down

0 comments on commit a8f57f0

Please sign in to comment.