diff --git a/testing/ltp/CMakeLists.txt b/testing/ltp/CMakeLists.txt index 1152b8963..6f9b7effe 100644 --- a/testing/ltp/CMakeLists.txt +++ b/testing/ltp/CMakeLists.txt @@ -118,6 +118,10 @@ if(CONFIG_TESTING_LTP) ${TESTDIR}/conformance/interfaces/pthread_sigmask/4-1.c ${TESTDIR}/conformance/interfaces/sigprocmask/4-1.c) + if(CONFIG_FDCHECK) + list(APPEND BLACKSRCS ${TESTDIR}/conformance/interfaces/mq_close/4-1.c) + endif() + if(NOT CONFIG_LIBC_LOCALTIME) list(APPEND BLACKSRCS ${TESTDIR}/conformance/definitions/time_h/34-1-buildonly.c diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile index 1fc2c943d..99354eed6 100644 --- a/testing/ltp/Makefile +++ b/testing/ltp/Makefile @@ -70,6 +70,9 @@ BLACKSRCS += $(TESTDIR)/conformance/interfaces/clock_nanosleep/1-4.c BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_sigmask/18-1.c BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_sigmask/4-1.c BLACKSRCS += $(TESTDIR)/conformance/interfaces/sigprocmask/4-1.c +ifeq ($(CONFIG_FDCHECK),y) +BLACKSRCS += $(TESTDIR)/conformance/interfaces/mq_close/4-1.c +endif ifeq ($(CONFIG_LIBC_LOCALTIME),) BLACKSRCS += $(TESTDIR)/conformance/definitions/time_h/34-1-buildonly.c BLACKSRCS += $(TESTDIR)/conformance/definitions/time_h/35-3-buildonly.c