Quellcode durchsuchen

- disable libcrypt tests if we have no libcrypt

Bernhard Reutner-Fischer vor 17 Jahren
Ursprung
Commit
3ec57a9f7e
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  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