summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
authorRuediger Meier2014-03-13 14:35:59 +0100
committerRuediger Meier2014-03-13 17:24:13 +0100
commit51f9b431c0d0cea32e94ef033d02155966e75bc7 (patch)
tree89c9663eb270ef0275ec08e956762c0278bddbfa /tests/run.sh
parentinclude/closestream: don't wipe errno on EPIPE (diff)
downloadkernel-qcow2-util-linux-51f9b431c0d0cea32e94ef033d02155966e75bc7.tar.gz
kernel-qcow2-util-linux-51f9b431c0d0cea32e94ef033d02155966e75bc7.tar.xz
kernel-qcow2-util-linux-51f9b431c0d0cea32e94ef033d02155966e75bc7.zip
tests: write tests/failures to build- instead of srcdir
All other test output goes to builddir too and moreover "make distcheck" complains about writing to it's read-only srcdir. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/run.sh b/tests/run.sh
index a20da4785..decea3925 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -135,13 +135,13 @@ if [ $paraller_jobs -gt 1 ]; then
fi
count=0
->| $top_srcdir/tests/failures
+>| $top_builddir/tests/failures
printf "%s\n" ${comps[*]} |
xargs -I '{}' -P $paraller_jobs -n 1 bash -c "'{}' \"$OPTS\" ||
- echo 1 >> $top_srcdir/tests/failures"
+ echo 1 >> $top_builddir/tests/failures"
declare -a fail_file
-fail_file=( $( < $top_srcdir/tests/failures ) )
-rm -f $top_srcdir/tests/failures
+fail_file=( $( < $top_builddir/tests/failures ) )
+rm -f $top_builddir/tests/failures
echo
echo "---------------------------------------------------------------------"
if [ ${#fail_file[@]} -eq 0 ]; then