diff options
author | Ruediger Meier | 2014-03-13 14:35:59 +0100 |
---|---|---|
committer | Ruediger Meier | 2014-03-13 17:24:13 +0100 |
commit | 51f9b431c0d0cea32e94ef033d02155966e75bc7 (patch) | |
tree | 89c9663eb270ef0275ec08e956762c0278bddbfa /tests/run.sh | |
parent | include/closestream: don't wipe errno on EPIPE (diff) | |
download | kernel-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-x | tests/run.sh | 8 |
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 |