瀏覽代碼

- disable libcrypt tests if we have no libcrypt

Bernhard Reutner-Fischer 15 年之前
父節點
當前提交
3ec57a9f7e
共有 1 個文件被更改,包括 6 次插入0 次删除
  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