You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/08/03 14:30:33 UTC
[nuttx-apps] branch master updated (fd261d839 -> bc3fada2c)
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
from fd261d839 test: modify stacksize and priority
new bc8d77fdb apps/testing/ltp: filter the testcases based on config
new bc3fada2c apps/testing/ltp: conditional build the testcases based on defconfig
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
testing/ltp/Makefile | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
[nuttx-apps] 02/02: apps/testing/ltp: conditional build the testcases based on defconfig
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit bc3fada2ce249cd21b7f0ac6145db9ba92fdbc02
Author: guoshichao <gu...@xiaomi.com>
AuthorDate: Thu Jul 27 15:55:40 2023 +0800
apps/testing/ltp: conditional build the testcases based on defconfig
Signed-off-by: guoshichao <gu...@xiaomi.com>
---
testing/ltp/Makefile | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index 45f0b52ce..19aa31d08 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -194,6 +194,29 @@ BLACKWORDS += setegid
BLACKWORDS += geteuid
BLACKWORDS += getegid
endif
+ifeq ($(CONFIG_PTHREAD_CLEANUP_STACKSIZE),0)
+BLACKWORDS += pthread_cleanup_push
+BLACKWORDS += pthread_cleanup_pop
+endif
+ifeq ($(CONFIG_LIBC_EXECFUNCS),)
+BLACKWORDS += execl
+BLACKWORDS += execvp
+BLACKWORDS += execlp
+BLACKWORDS += execvpe
+endif
+ifeq ($(CONFIG_FS_SHMFS),)
+BLACKWORDS += shm_open
+BLACKWORDS += shm_unlink
+endif
+ifeq ($(LIBC_LOCALE_CATALOG),)
+BLACKWORDS += catopen
+BLACKWORDS += catgets
+BLACKWORDS += catclose
+endif
+ifeq ($(CONFIG_MM_SHM),)
+BLACKWORDS += shmget
+BLACKWORDS += shmat
+endif
MAINWORDS += "main("
[nuttx-apps] 01/02: apps/testing/ltp: filter the testcases based on config
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit bc8d77fdbdc550eb6710e99cfee4e5063aa7ebd2
Author: guoshichao <gu...@xiaomi.com>
AuthorDate: Mon Jul 10 17:07:12 2023 +0800
apps/testing/ltp: filter the testcases based on config
control the testcases build rules based on the config that current
enabled
Signed-off-by: guoshichao <gu...@xiaomi.com>
---
testing/ltp/Makefile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index 071e66c51..45f0b52ce 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -122,6 +122,78 @@ 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
+BLACKSRCS += $(TESTDIR)/conformance/behavior/WIFEXITED/1-2.c
+endif
+ifeq ($(CONFIG_FS_TMPFS),)
+BLACKWORDS += lio_listio
+endif
+ifeq ($(CONFIG_SIG_EVTHREAD),)
+BLACKWORDS += fork
+endif
+ifneq ($(shell expr $(CONFIG_MQ_MAXMSGSIZE) \>= 64),1)
+BLACKWORDS += mq_close
+BLACKWORDS += mq_getattr
+BLACKWORDS += mq_notify
+BLACKWORDS += mq_open
+BLACKWORDS += mq_receive
+BLACKWORDS += mq_send
+BLACKWORDS += mq_setattr
+BLACKWORDS += mq_timedreceive
+BLACKWORDS += mq_timedsend
+BLACKWORDS += mq_unlink
+endif
+ifeq ($(CONFIG_PTHREAD_MUTEX_TYPES),)
+BLACKWORDS += pthread_mutexattr_settype
+endif
+ifeq ($(CONFIG_SCHED_SPORADIC),)
+BLACKSRCS += $(TESTDIR)/conformance/interfaces/sched_setscheduler/19-2.c
+BLACKSRCS += $(TESTDIR)/conformance/interfaces/sched_setscheduler/19-3.c
+BLACKSRCS += $(TESTDIR)/conformance/interfaces/sched_setscheduler/19-4.c
+endif
+ifeq ($(CONFIG_SIG_DEFAULT),)
+BLACKWORDS += SIGKILL
+BLACKWORDS += SIGSTOP
+endif
+ifeq ($(CONFIG_RR_INTERVAL),)
+BLACKSRCS += $(TESTDIR)/functional/threads/condvar/pthread_cond_wait_1.c
+endif
+ifeq ($(CONFIG_FS_NAMED_SEMAPHORES),)
+BLACKWORDS += sem_open
+BLACKWORDS += sem_close
+BLACKWORDS += sem_unlink
+endif
+ifeq ($(CONFIG_PIPES),)
+BLACKWORDS += pipe
+endif
+ifneq ($(shell expr $(CONFIG_LIBC_MAX_EXITFUNS) \>= 32),1)
+BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_exit/4-1.c
+BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_exit/5-1.c
+endif
+ifeq ($(CONFIG_CANCELLATION_POINTS),)
+BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_exit/3-1.c
+endif
+ifneq ($(shell expr $(CONFIG_TLS_NELEM) \>= 16),1)
+BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_setspecific/1-1.c
+endif
+ifeq ($(CONFIG_PTHREAD_SPINLOCKS),)
+BLACKWORDS += pthread_spin_lock
+endif
+ifeq ($(CONFIG_SCHED_WAITPID),)
+BLACKWORDS += waitpid
+endif
+ifeq ($(CONFIG_SCHED_USER_IDENTITY),)
+BLACKWORDS += setuid
+BLACKWORDS += setgid
+BLACKWORDS += getuid
+BLACKWORDS += getgid
+BLACKWORDS += seteuid
+BLACKWORDS += setegid
+BLACKWORDS += geteuid
+BLACKWORDS += getegid
+endif
MAINWORDS += "main("