diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2010-01-25 20:33:00 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2010-01-25 20:33:00 +0000 |
commit | 0e4dfcf5d8df4346e0932f50a4db4f3e0c894a90 (patch) | |
tree | 77fb849d7e847ee22b50e875168b31813c49ba77 | |
parent | 61a34d52736f3eddfa853eec0534a384ff03e511 (diff) | |
download | rpm-helper-0e4dfcf5d8df4346e0932f50a4db4f3e0c894a90.tar rpm-helper-0e4dfcf5d8df4346e0932f50a4db4f3e0c894a90.tar.gz rpm-helper-0e4dfcf5d8df4346e0932f50a4db4f3e0c894a90.tar.bz2 rpm-helper-0e4dfcf5d8df4346e0932f50a4db4f3e0c894a90.tar.xz rpm-helper-0e4dfcf5d8df4346e0932f50a4db4f3e0c894a90.zip |
test support
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -8,8 +8,10 @@ SCRIPT_FILES = add-user del-user add-service del-service create-file \ get-password create-ssl-certificate MACROS_FILES = rpm-helper.macros CONF_FILES = ssl +TEST_FILES = t/*.t FILES = AUTHORS README COPYING NEWS Makefile \ - $(SCRIPT_FILES) $(MACROS_FILES:=.in) $(CONF_FILES) + $(SCRIPT_FILES) $(MACROS_FILES:=.in) $(CONF_FILES) \ + $(TEST_FILES) pkgdatadir = /usr/share/$(PACKAGE) rpmmacrosdir = /etc/rpm/macros.d @@ -32,6 +34,9 @@ rpm-helper.macros: rpm-helper.macros.in clean: rm -f *~ +test: + perl -I t -MExtUtils::Command::MM -e "test_harness($(TEST_VERBOSE))" $(TEST_FILES) + # rules to build a local distribution localdist: cleandist dir localcopy tar |