Implicitly run 'make rootfs' with 'make check'

Avoid the need for the user to run this manually after a run of the
testsuite by adding it.
This commit is contained in:
Dave Reisner 2012-06-28 11:16:36 -04:00
parent fca5b9bcd4
commit 2588e3dff5

View File

@ -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)