diff options
author | Joe Thornber <thornber@redhat.com> | 2010-07-20 14:38:44 +0000 |
---|---|---|
committer | Joe Thornber <thornber@redhat.com> | 2010-07-20 14:38:44 +0000 |
commit | 1033d120404c0e41ced5f36361e412ac03a3461f (patch) | |
tree | 8776b2d0770ad642176c9e079987e621251f1e23 /Makefile.in | |
parent | 60f425d1b3508d71883ac1a4501f6ab7f3e32b08 (diff) | |
download | lvm2-1033d120404c0e41ced5f36361e412ac03a3461f.tar.gz |
Report generators for unit tests and memory checks. Configure with
--enable-testing.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 37eaec513..785cb0f53 100644 --- a/Makefile.in +++ b/Makefile.in @@ -127,3 +127,23 @@ lcov: $(LCOV_TRACES) endif endif + +ifeq ("$(TESTING)", "yes") +# testing and report generation +RUBY=ruby1.9 -Ireport-generators/lib -Ireport-generators/test + +.PHONEY: unit-test ruby-test test-programs + +test-programs: + +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 +endif
\ No newline at end of file |