test/runner properly fails on xspec non-zero exit
parent
8a204534f0
commit
0f2212e7d4
|
@ -74,9 +74,8 @@ while read spec; do
|
||||||
../tools/xspec/bin/xspec.sh "$spec" 2>&1 \
|
../tools/xspec/bin/xspec.sh "$spec" 2>&1 \
|
||||||
| process-results
|
| process-results
|
||||||
|
|
||||||
if [ $? -ne 0 -o ${PIPESTATUS[1]} -ne 0 ]; then
|
test ${PIPESTATUS[0]} -eq 0 -a ${PIPESTATUS[1]} -eq 0 \
|
||||||
status=1
|
|| status=1
|
||||||
fi
|
|
||||||
|
|
||||||
spec_path="$( dirname "$spec" )/xspec"
|
spec_path="$( dirname "$spec" )/xspec"
|
||||||
result="$spec_path/$( basename "$spec" .xspec )-result.html"
|
result="$spec_path/$( basename "$spec" .xspec )-result.html"
|
||||||
|
|
Loading…
Reference in New Issue