소스 검색

- 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