diff --git a/binutils.spec b/binutils.spec index 4f3c992..4b286bb 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1150,11 +1150,11 @@ run_tests() # should be allowed but "XFAIL | FAIL" should not. diff --side-by-side cross.out native.out > diff.out || : - grep -e '|' diff.out > bar.out || : - grep -e "FAIL:" bar.out > fails.out || : + grep -e '|' diff.out > changed-lines.out || : + grep -e "FAIL:" changed-lines.out > fails.out || : grep -e "PASS:" fails.out > passes.out || : grep -v -e "XFAIL:" passes.out > discrepancies.out || : - grep -e "XFAIL:" bar.out > xfails.out || : + grep -e "XFAIL:" changed-lines.out > xfails.out || : grep -v -e "PASS:" -e "UNTESTED:" xfails.out > x-discrepancies.out || : if grep -s -e "command sequence test" discrepancies.out > /dev/null ; then @@ -1185,7 +1185,6 @@ run_tests() echo "$intro: ERROR: Missing test results file $cross_file and/or $native_file" fi done - # FIXME: Check that results are empty. fi %endif