summaryrefslogtreecommitdiff
path: root/test/crypt/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-11 04:27:33 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-11 04:27:33 +0000
commitd69e6f24f2bbd258274ac50915fdbac94571a8d2 (patch)
treec37491d7aa51f587eb578c55384f8ff7708512af /test/crypt/Makefile
parent016070bcbdaa959f9184312343d895a3edcbf6fc (diff)
automate the tests a bit
Diffstat (limited to 'test/crypt/Makefile')
-rw-r--r--test/crypt/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/crypt/Makefile b/test/crypt/Makefile
index b2a72ced3..d70eaff7d 100644
--- a/test/crypt/Makefile
+++ b/test/crypt/Makefile
@@ -18,7 +18,8 @@
include ../Rules.mak
-TARGETS=crypt crypt_glibc diff md5c-test
+TARGETS := crypt diff md5c-test
+
EXTRA_LIBS=-lcrypt
all: $(TARGETS)
@@ -45,12 +46,12 @@ crypt_glibc: crypt.c Makefile $(TESTDIR)/Rules.mak
./$@ < crypt.input > $@.out 2>&1
-@ echo " "
-diff: crypt_glibc crypt
+diff: crypt
-@ echo "-------"
-@ echo " "
-@ echo "Diffing output: "
-@ echo " "
- diff -u crypt_glibc.out crypt.out
+ diff -u crypt.good crypt.out
-@ echo " "
md5c-test: md5c-test.c Makefile $(TESTDIR)/Rules.mak