projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d7459
)
Do not attempt running the test suite without fakechroot (ticket #851).
author
Ales Kozumplik
<akozumpl@redhat.com>
Mon, 14 Nov 2011 08:58:04 +0000
(09:58 +0100)
committer
Ales Kozumplik
<akozumpl@redhat.com>
Wed, 16 Nov 2011 08:32:07 +0000
(09:32 +0100)
Partially resolves ticket #851.
tests/Makefile.am
patch
|
blob
|
history
diff --git
a/tests/Makefile.am
b/tests/Makefile.am
index
6f84093
..
d2b5254
100644
(file)
--- 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)' \