diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 6f84093f4..d2b5254b3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -99,8 +99,14 @@ testing$(bindir)/rpmbuild: ../rpmbuild check_DATA = atconfig atlocal $(TESTSUITE) check_DATA += testing$(bindir)/rpmbuild +if HAVE_FAKECHROOT check-local: $(check_DATA) $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS) ||: +else +check-local: + echo "you need to have fakechroot installed" + exit 1 +endif !HAVE_FAKECHROOT installcheck-local: $(check_DATA) $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \ |