summaryrefslogtreecommitdiff
path: root/test/crypt
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:02:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:02:24 +0000
commit095ca55f2edd965fa9f3a5d3a4c98a7d7e852ed9 (patch)
tree074540e563757454c2c4adce2e3799a5ab766db8 /test/crypt
parentde8b8b0b0bdd0f6012187dfc3046cac098000bb0 (diff)
remove old depend on Config and make it so that a test failure aborts the make process
Diffstat (limited to 'test/crypt')
-rw-r--r--test/crypt/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/crypt/Makefile b/test/crypt/Makefile
index b0cd589cc..f206c9d1a 100644
--- a/test/crypt/Makefile
+++ b/test/crypt/Makefile
@@ -23,7 +23,7 @@ EXTRA_LIBS=-lcrypt
all: $(TARGETS)
-crypt: crypt.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+crypt: crypt.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -31,10 +31,10 @@ crypt: crypt.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ < crypt.input #> $@.out 2>&1
+ ./$@ < crypt.input #> $@.out 2>&1
-@ echo " "
-crypt_glibc: crypt.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+crypt_glibc: crypt.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs glibc: "
@@ -42,7 +42,7 @@ crypt_glibc: crypt.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ < crypt.input > $@.out 2>&1
+ ./$@ < crypt.input > $@.out 2>&1
-@ echo " "
diff: crypt_glibc crypt
@@ -50,10 +50,10 @@ diff: crypt_glibc crypt
-@ echo " "
-@ echo "Diffing output: "
-@ echo " "
- -diff -u crypt_glibc.out crypt.out
+ diff -u crypt_glibc.out crypt.out
-@ echo " "
-md5c-test: md5c-test.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+md5c-test: md5c-test.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -61,10 +61,8 @@ md5c-test: md5c-test.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
clean:
$(RM) *.[oa] *~ core crypt_glibc crypt crypt_glibc.out crypt.out md5c-test
-
-