tests: remove CONFIG_ZTEST_NEW_API in all tests

Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this
is now enabled by default.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-10-09 23:33:50 +00:00 committed by Carles Cufí
parent 01281ed8af
commit 345735d0a8
757 changed files with 8 additions and 759 deletions

View file

@ -1,2 +1 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,3 +1,2 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_IDLE_STACK_SIZE=4096

View file

@ -1,6 +1,5 @@
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_COVERAGE=n
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y
CONFIG_CUSTOM_LINKER_SCRIPT="linker_arm_sram2.ld"

View file

@ -1,5 +1,4 @@
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y
CONFIG_CUSTOM_LINKER_SCRIPT="linker_riscv_qemu_sram2.ld"

View file

@ -1,5 +1,4 @@
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y
CONFIG_CUSTOM_LINKER_SCRIPT="linker_xtensa_qemu_sram2.ld"

View file

@ -1,3 +1,2 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ZTEST_STACK_SIZE=2048

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ARC_DSP=y
CONFIG_ARC_DSP_SHARING=y
CONFIG_MAIN_STACK_SIZE=1024

View file

@ -1,3 +1,2 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT_TEST=y

View file

@ -3,5 +3,4 @@ CONFIG_DYNAMIC_INTERRUPTS=y
CONFIG_TEST_USERSPACE=y
CONFIG_APPLICATION_DEFINED_SYSCALL=y
CONFIG_IDLE_STACK_SIZE=512
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT_TEST=y

View file

@ -2,4 +2,3 @@ CONFIG_ZTEST=y
CONFIG_DYNAMIC_INTERRUPTS=y
CONFIG_DYNAMIC_DIRECT_INTERRUPTS=y
CONFIG_ZERO_LATENCY_IRQS=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,6 +1,5 @@
CONFIG_ZTEST=y
CONFIG_GEN_ISR_TABLES=n
CONFIG_NUM_IRQS=3
CONFIG_ZTEST_NEW_API=y
# Force Bluetooth disable (required by platforms that enable Bluetooth by default)
CONFIG_BT=n

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_DYNAMIC_INTERRUPTS=y
CONFIG_DYNAMIC_DIRECT_INTERRUPTS=y
CONFIG_ZERO_LATENCY_IRQS=y

View file

@ -1,3 +1,2 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_TEST_USERSPACE=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_MULTITHREADING=n
CONFIG_ASSERT=y
CONFIG_FPU=y

View file

@ -1,3 +1,2 @@
CONFIG_ZTEST=y
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,3 +1,2 @@
CONFIG_RUNTIME_NMI=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,3 +1,2 @@
CONFIG_ZTEST=y
CONFIG_SW_VECTOR_RELAY=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,6 +1,5 @@
CONFIG_ZTEST=y
CONFIG_DYNAMIC_INTERRUPTS=y
CONFIG_ZTEST_NEW_API=y
CONFIG_TEST_USERSPACE=y
CONFIG_APPLICATION_DEFINED_SYSCALL=y
CONFIG_MAIN_STACK_SIZE=1024

View file

@ -11,5 +11,4 @@ CONFIG_TFM_IPC=y
CONFIG_FPU=y
CONFIG_FPU_SHARING=y
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
CONFIG_ZTEST_NEW_API=y
CONFIG_QEMU_ICOUNT_SHIFT=8

View file

@ -1,2 +1 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,4 +1,3 @@
CONFIG_LOG=y
CONFIG_ZTEST=y
CONFIG_GIC_V3_ITS=y
CONFIG_ZTEST_NEW_API=y

View file

@ -5,4 +5,3 @@ CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_MAIN_STACK_SIZE=2560
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,3 +1,2 @@
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,3 +1,2 @@
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,3 +1,2 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_SEMIHOST=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_TIMING_FUNCTIONS=y
CONFIG_FPU=y
CONFIG_SCHED_CPU_MASK=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_FPU=y
CONFIG_FPU_SHARING=y
CONFIG_IRQ_OFFLOAD=y

View file

@ -1,4 +1,3 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_TEST_USERSPACE=y
CONFIG_APPLICATION_DEFINED_SYSCALL=y

View file

@ -1,4 +1,3 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_MP_MAX_NUM_CPUS=1
CONFIG_THREAD_STACK_INFO=y

View file

@ -1,2 +1 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_TEST_HW_STACK_PROTECTION=n
CONFIG_TEST_USERSPACE=y
CONFIG_EXCEPTION_DEBUG=y

View file

@ -1,4 +1,3 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_EXCEPTION_DEBUG=n
CONFIG_MAIN_THREAD_PRIORITY=6

View file

@ -1,4 +1,3 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_NEWLIB_LIBC=y
CONFIG_CMSIS_DSP=y

View file

@ -1,2 +1 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,2 +1 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CTLR=n

View file

@ -3,4 +3,3 @@ CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Test Adv Data"
CONFIG_ASSERT=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -3,5 +3,4 @@ CONFIG_BT_BREDR=y
CONFIG_BT_HFP_HF=y
CONFIG_NET_BUF=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_SERIAL=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_MAX_CONN=1

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_AUDIO=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_AUDIO=y

View file

@ -4,4 +4,3 @@ CONFIG_BT_NO_DRIVER=y
CONFIG_LOG=y
CONFIG_UART_INTERRUPT_DRIVEN=n
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CTLR=n

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CTLR=n

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,6 +1,5 @@
CONFIG_NET_BUF=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ZTEST_ASSERT_VERBOSE=3
CONFIG_ZTEST_STACK_SIZE=4096
CONFIG_ZTEST_ASSERT_HOOK=y

View file

@ -4,6 +4,5 @@ CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CENTRAL=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT_PRIVACY=y
CONFIG_BT_CTLR_SW_DEFERRED_PRIVACY=y

View file

@ -2,5 +2,4 @@ CONFIG_NET_BUF=y
CONFIG_ZTEST=y
CONFIG_ZTEST_ASSERT_VERBOSE=3
CONFIG_ZTEST_STACK_SIZE=4096
CONFIG_ZTEST_NEW_API=y
CONFIG_ZTEST_PARAMETER_COUNT=32

View file

@ -4,7 +4,6 @@ CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CENTRAL=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_USER_EXT=y
CONFIG_BT_CTLR_USER_EVT_RANGE=10

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
# It does not matter for the test whether central or peripheral is used.

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_EXT_ADV=y

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_EXT_ADV=y

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_EXT_ADV=y

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CTLR=n

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CTLR=y

View file

@ -1,6 +1,5 @@
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CTLR=n

View file

@ -7,4 +7,3 @@ CONFIG_LOG=y
CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_PAIRED=7

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_PAIRED=7

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_PAIRED=7

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_PAIRED=7

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
CONFIG_ASSERT_VERBOSE=y

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_PAIRED=7

View file

@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_PAIRED=7

Some files were not shown because too many files have changed in this diff Show more