summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-23 10:50:49 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-23 10:50:49 +0000
commit3ec57a9f7e1bb776de6e2fc9f95589ac9fd9dc57 (patch)
tree02531141d81523ecb3726f1029651e936cbf3d2f /test
parenta31726d36b7670a214ef9f3661b1d02a671d798b (diff)
- disable libcrypt tests if we have no libcrypt
Diffstat (limited to 'test')
-rw-r--r--test/crypt/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/crypt/Makefile b/test/crypt/Makefile
index 11d420d9e..7ba1cfcfc 100644
--- a/test/crypt/Makefile
+++ b/test/crypt/Makefile
@@ -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