OSDN Git Service

- disable libcrypt tests if we have no libcrypt
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 23 Feb 2009 10:50:49 +0000 (10:50 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 23 Feb 2009 10:50:49 +0000 (10:50 -0000)
test/crypt/Makefile

index 11d420d..7ba1cfc 100644 (file)
@@ -1,6 +1,12 @@
 # uClibc crypt tests
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 
+include ../../.config
+
+ifneq ($(UCLIBC_HAS_CRYPT),y)
+TESTS_DISABLED := $(patsubst %.c,%,$(wildcard *.c))
+endif
+
 include ../Test.mak
 
 EXTRA_LDFLAGS := -lcrypt