Bladeren bron

- disable libcrypt tests if we have no libcrypt

Bernhard Reutner-Fischer 15 jaren geleden
bovenliggende
commit
3ec57a9f7e
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  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