'|PACKAGE_NAME=$(PACKAGE_NAME)|' \
'|PACKAGE_URL=$(PACKAGE_URL)|' \
'|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
+ '|builddir=$(abs_builddir)|' \
'|prefix=$(prefix)|' \
'|exec_prefix=$(exec_prefix)|' \
'|sbindir=$(sbindir)|' \
# - NITSI tests ----------------------------------------------------------------
NITSI_TESTS = \
- test/nitsi/test/hello-world
+ test/nitsi/test/hello-world \
+ test/nitsi/test/make-check
EXTRA_DIST += \
test/nitsi/test/hello-world/recipe \
- test/nitsi/test/hello-world/settings
+ test/nitsi/test/hello-world/settings \
+ test/nitsi/test/make-check/recipe.in \
+ test/nitsi/test/make-check/settings.in
+
+CLEANFILES += \
+ test/nitsi/test/make-check/recipe \
+ test/nitsi/test/make-check/settings
NITSI_ENVIRONMENT =
.PHONY: $(NITSI_TESTS)
-$(NITSI_TESTS): dist
+$(NITSI_TESTS): % : %/recipe %/settings
$(AM_V_NITSI) $(NITSI_ENVIRONMENT) $(NITSI) --log-level error -d $@
.PHONY: nitsi
-nitsi: $(NITSI_TESTS)
+nitsi: dist $(NITSI_TESTS)
--- /dev/null
+[DEFAULT]
+Name = make check
+Description = This test runs make install in the virtual environment
+ to determine if the source tarball is complete and module test
+ can be executed in the virtual environment
+
+Copy_from = ../../../../@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
+Copy_to = /root/
+
+[VIRTUAL_ENVIRONMENT]
+Name = basic
+path = ../../virtual-environment/basic