summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2018-02-02 15:39:17 +0000
committerDavid Teigland <teigland@redhat.com>2018-04-20 11:12:50 -0500
commit8ae3b244fcbc207b51a81514e51008fe64d13368 (patch)
tree22d68c378538f9b710169ab3e72fe95979651b7a /Makefile.in
parentb03e55a5130ffdf6be9188b227c59e6793dc0dfc (diff)
downloadlvm2-8ae3b244fcbc207b51a81514e51008fe64d13368.tar.gz
[build] include test/unit/Makefile rather than recursive build
FIXME: unit tests are not currently run as part of make check.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in23
1 files changed, 1 insertions, 22 deletions
diff --git a/Makefile.in b/Makefile.in
index 31d428d9b..146ed558a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -212,28 +212,7 @@ endif
endif
ifeq ("$(TESTING)", "yes")
-# testing and report generation
-RUBY=ruby1.9 -Ireport-generators/lib -Ireport-generators/test
-
-.PHONY: unit-test ruby-test test-programs
-
-# FIXME: put dependencies on libdm and liblvm
-# FIXME: Should be handled by Makefiles in subdirs, not here at top level.
-test-programs:
- cd unit-tests/regex && $(MAKE)
- cd unit-tests/datastruct && $(MAKE)
- cd unit-tests/mm && $(MAKE)
-
-unit-test: test-programs
- $(RUBY) report-generators/unit_test.rb $(shell find . -name TESTS)
- $(RUBY) report-generators/title_page.rb
-
-memcheck: test-programs
- $(RUBY) report-generators/memcheck.rb $(shell find . -name TESTS)
- $(RUBY) report-generators/title_page.rb
-
-ruby-test:
- $(RUBY) report-generators/test/ts.rb
+include test/unit/Makefile
endif
ifneq ($(shell which ctags),)