Adrian Schröter 2008-04-13 12:30:20 +00:00 committed by Git OBS Bridge
parent ad84bc50cd
commit 2e7b2e7af1

View File

@ -91,20 +91,6 @@ eval $MAKE
# Some of the regressioin tests write to $HOME, so better redirect them
mkdir home
export HOME=$PWD/home
# Run the testsuite to gather some data for the profile-based
# optimisation and let rpmbuild fail on unexpected test failures.
cat > known-failures <<EOF
httpold-4.12
mathop-25.14
EOF
eval $MAKE test 2>&1 | tee testresults
grep FAILED testresults | grep -Fqvf known-failures && exit 1
# If we don't do profile based optimisation, we are done at this point.
test -z "$PFLAGS" && exit 0
# Rebuild and use the profiling results
make clean
PFLAGS="%cflags_profile_feedback"
eval $MAKE
%install
make -C unix install install-private-headers \