tests: Name compared files relative to sandbox in output
Instead of relative to build directory. Shorter, and independent of the path from build to source directory. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
ab913d73f9
commit
c82a481bc3
1 changed files with 2 additions and 2 deletions
|
@ -167,10 +167,10 @@ cmp_out()
|
||||||
perl "$srcdir"/tests/normalize.pl $opt "$act" >"$nrm"
|
perl "$srcdir"/tests/normalize.pl $opt "$act" >"$nrm"
|
||||||
if msg=`diff -q "$exp" "$nrm"`
|
if msg=`diff -q "$exp" "$nrm"`
|
||||||
then
|
then
|
||||||
echo "$exp OK"
|
echo "$i OK"
|
||||||
else
|
else
|
||||||
ret=$?
|
ret=$?
|
||||||
echo "$exp FAIL"
|
echo "$i FAIL"
|
||||||
echo $msg
|
echo $msg
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue