aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-10 00:13:34 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-10 00:13:34 +0000
commit9fc013bc98eb721fa65f500a263383eae01f5fa3 (patch)
tree7f912b2e8ccff247bc8ddba0478611b84afbdb5c
parent48a080a327e7b1541f08ae94dca14b716888bed3 (diff)
downloadpaludis-9fc013bc98eb721fa65f500a263383eae01f5fa3.tar.gz
paludis-9fc013bc98eb721fa65f500a263383eae01f5fa3.tar.xz
Include a check that --help works
-rw-r--r--src/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4e2080e..56aa16b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,3 @@
-CLEANFILES = *~ version_TEST list_sync_formats_TEST list_repository_formats_TEST \
- gmon.out *.gcov *.gcno *.gcda
-MAINTAINERCLEANFILES = Makefile.in
AM_CXXFLAGS = -I$(top_srcdir)
DEFS= \
-DSYSCONFDIR=\"$(sysconfdir)\" \
@@ -31,11 +28,17 @@ TESTS_ENVIRONMENT = env \
PALUDIS_SKIP_CONFIG="yes" \
$(SHELL) $(top_srcdir)/test/run_test.sh bash
-TESTS = version_TEST list_sync_formats_TEST list_repository_formats_TEST
+TESTS = version_TEST help_TEST list_sync_formats_TEST list_repository_formats_TEST
+
+CLEANFILES = *~ $(TESTS) gmon.out *.gcov *.gcno *.gcda
+MAINTAINERCLEANFILES = Makefile.in
version_TEST : paludis
echo -e "#!/bin/sh\n./paludis --version" > $@
+help_TEST : paludis
+ echo -e "#!/bin/sh\n./paludis --help" > $@
+
list_sync_formats_TEST : paludis
echo -e "#!/bin/sh\n./paludis --list-sync-protocols" > $@