Parcourir la source

- disable libcrypt tests if we have no libcrypt

Bernhard Reutner-Fischer il y a 15 ans
Parent
commit
3ec57a9f7e
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      test/crypt/Makefile

+ 6 - 0
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