skip test on fedory and friends

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=312
This commit is contained in:
Adrian Schröter 2017-07-19 18:06:21 +00:00 committed by Git OBS Bridge
parent 77f5fcdca4
commit c28d669659

View File

@ -156,6 +156,10 @@ if [ `whoami` != "root" ]; then
echo "WARNING: Not building as root, tests did not run!" echo "WARNING: Not building as root, tests did not run!"
exit 0 exit 0
fi fi
if [ ! -f "$RPM_BUILD_ROOT/usr/lib/build/configs/default.conf" ]; then
echo "WARNING: No default config, tests did not run!"
exit 0
fi
# get back the default.conf link # get back the default.conf link
cp -av $RPM_BUILD_ROOT/usr/lib/build/configs/default.conf configs/ cp -av $RPM_BUILD_ROOT/usr/lib/build/configs/default.conf configs/
# do not get confused when building this already with build: # do not get confused when building this already with build: