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 \
|
||||
| process-results
|
||||
|
||||
if [ $? -ne 0 -o ${PIPESTATUS[1]} -ne 0 ]; then
|
||||
status=1
|
||||
fi
|
||||
test ${PIPESTATUS[0]} -eq 0 -a ${PIPESTATUS[1]} -eq 0 \
|
||||
|| status=1
|
||||
|
||||
spec_path="$( dirname "$spec" )/xspec"
|
||||
result="$spec_path/$( basename "$spec" .xspec )-result.html"
|
||||
|
|
Loading…
Reference in New Issue