projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca5b9b
)
Implicitly run 'make rootfs' with 'make check'
author
Dave Reisner
<dreisner@archlinux.org>
Thu, 28 Jun 2012 15:16:36 +0000
(11:16 -0400)
committer
Dave Reisner
<dreisner@archlinux.org>
Fri, 29 Jun 2012 16:58:06 +0000
(12:58 -0400)
Avoid the need for the user to run this manually after a run of the
testsuite by adding it.
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
a3a3698
..
a04a01f
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-132,6
+132,7
@@
CREATE_ROOTFS = $(AM_V_GEN) ( $(RM) -rf $(ROOTFS) && \
rootfs:
$(CREATE_ROOTFS)
+.PHONY: rootfs
$(ROOTFS): $(ROOTFS_PRISTINE)
$(CREATE_ROOTFS)
@@
-142,6
+143,8
@@
TESTSUITE_OVERRIDE_LIBS = testsuite/uname.la testsuite/path.la \
TESTSUITE_OVERRIDE_LIBS_LDFLAGS = avoid-version -module -shared -export-dynamic \
-rpath /nowhere -ldl
+check-local: rootfs
+
check_LTLIBRARIES = $(TESTSUITE_OVERRIDE_LIBS)
testsuite_uname_la_LDFLAGS = $(TESTSUITE_OVERRIDE_LIBS_LDFLAGS)