Bug 30975 - (spec %check) automatically detect whether a test has failed

Summary: (spec %check) automatically detect whether a test has failed