You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/08/25 18:18:02 UTC
[nuttx-apps] branch master updated: ltp/makefile: filter testcases based on defconfig
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 512af7fbd ltp/makefile: filter testcases based on defconfig
512af7fbd is described below
commit 512af7fbd766a0002fc8935e4fded0d9a4be8e98
Author: fangxinyong <fa...@xiaomi.com>
AuthorDate: Fri Aug 18 15:45:45 2023 +0800
ltp/makefile: filter testcases based on defconfig
Signed-off-by: fangxinyong <fa...@xiaomi.com>
---
testing/ltp/Makefile | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index d98f65bfe..253d94d0c 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -104,26 +104,18 @@ BLACKWORDS += "SA_ONSTACK"
BLACKWORDS += "MINSIGSTKSZ"
BLACKWORDS += "FPE_FLTINV"
-BLACKSRCS += testfrmw.c
-BLACKSRCS += 7-3-buildonly.c
-BLACKSRCS += 7-4-buildonly.c
-BLACKSRCS += 7-5-buildonly.c
-BLACKSRCS += 11-1-buildonly.c
-BLACKSRCS += 17-1-buildonly.c
BLACKSRCS += 19-1-buildonly.c
BLACKSRCS += 21-1-buildonly.c
-BLACKSRCS += 22-31-buildonly.c
-BLACKSRCS += 22-32-buildonly.c
-BLACKSRCS += 25-1-buildonly.c
BLACKSRCS += 27-1-buildonly.c
+ifeq ($(CONFIG_LIBC_LOCALTIME),)
BLACKSRCS += 34-1-buildonly.c
+BLACKSRCS += 35-3-buildonly.c
+endif
BLACKSRCS += 35-1-buildonly.c
BLACKSRCS += 35-2-buildonly.c
-BLACKSRCS += 27-2.c
ifeq ($(CONFIG_PTHREAD_SPINLOCKS),)
BLACKSRCS += 3-12-buildonly.c
endif
-BLACKSRCS += 35-3-buildonly.c
ifeq ($(CONFIG_SCHED_CHILD_STATUS),)
BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_exit/6-1.c
BLACKSRCS += $(TESTDIR)/conformance/behavior/WIFEXITED/1-1.c
@@ -196,6 +188,12 @@ BLACKWORDS += setegid
BLACKWORDS += geteuid
BLACKWORDS += getegid
endif
+ifeq ($(CONFIG_TLS_NELEM),0)
+BLACKWORDS += pthread_key_create
+BLACKWORDS += pthread_key_delete
+BLACKWORDS += pthread_setspecific
+BLACKWORDS += pthread_getspecific
+endif
ifeq ($(CONFIG_PTHREAD_CLEANUP_STACKSIZE),0)
BLACKWORDS += pthread_cleanup_push
BLACKWORDS += pthread_cleanup_pop