summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt/quilt/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt/test.sh')
-rwxr-xr-xmeta/recipes-devtools/quilt/quilt/test.sh25
1 files changed, 24 insertions, 1 deletions
diff --git a/meta/recipes-devtools/quilt/quilt/test.sh b/meta/recipes-devtools/quilt/quilt/test.sh
index 6563e4a2fb..7dac8f4423 100755
--- a/meta/recipes-devtools/quilt/quilt/test.sh
+++ b/meta/recipes-devtools/quilt/quilt/test.sh
@@ -1 +1,24 @@
1for i in `ls test/*.test |awk -F. '{print $1}' |awk -F/ '{print $2}'`; do make check-$i; if [ $? -eq 0 ]; then echo PASS: $i.test; else echo FAIL: $i.test; fi; done 1#! /bin/sh
2
3set -e -u
4
5export LANG=C
6export LC_ALL=C
7export P=patches/
8export _P=../patches/
9export QUILTRC=$(pwd)/test/test.quiltrc
10export QUILT_PC=.pc
11export QUILT_DIR=/usr/share/quilt/
12
13# Specify on the commandline, else runs all of the tests
14TESTS=${@:-test/*.test}
15
16for FILENAME in $TESTS; do
17 TESTNAME=$(basename $FILENAME .test)
18 ./test/run $FILENAME
19 if [ $? -eq 0 ];
20 then echo PASS: $TESTNAME
21 else
22 echo FAIL: $TESTNAME
23 fi
24done