Commit ccad9d0d authored by Anas Nashif's avatar Anas Nashif
Browse files

tests: move testsuite and configs into subsys/



Move test related code and the testsuite away from tests/ and make it a
proper subsystem.
The way tests were integrate in the tree was not obvious and actual
tests were intermixed with the testsuite code.

This will allow us to have trees with the testcode and without the
samples by just remove the folders tests/ and samples, needed for
isolating actual code from test/sample code.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 7f4eb00f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -560,7 +560,6 @@ add_subdirectory(boards)
add_subdirectory(ext)
add_subdirectory(subsys)
add_subdirectory(drivers)
add_subdirectory(tests)

# Add all zephyr modules subdirectories.
message("Including module(s): ${ZEPHYR_MODULES_NAME}")
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ source "subsys/Kconfig"

source "ext/Kconfig"

source "tests/Kconfig"
source "subsys/testsuite/Kconfig"

source "$(PROJECT_BINARY_DIR)/Kconfig.modules"

+1 −1
Original line number Diff line number Diff line
@@ -762,7 +762,7 @@ INPUT = @ZEPHYR_BASE@/include/ \
                         @ZEPHYR_BASE@/include/arch/nios2/ \
                         @ZEPHYR_BASE@/lib/libc/minimal/include/ \
                         @ZEPHYR_BASE@/include/net/dns_resolve.h \
			 @ZEPHYR_BASE@/tests/ztest/include/ \
			 @ZEPHYR_BASE@/subsys/testsuite/ztest/include/ \
			 @ZEPHYR_BASE@/tests/kernel/

# This tag can be used to specify the character encoding of the source files
+1 −0
Original line number Diff line number Diff line
@@ -17,4 +17,5 @@ add_subdirectory_ifdef(CONFIG_SETTINGS settings)
add_subdirectory(fb)
add_subdirectory(power)
add_subdirectory(stats)
add_subdirectory(testsuite)
add_subdirectory_if_kconfig(jwt)
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ source "subsys/storage/Kconfig"

source "subsys/settings/Kconfig"

source "subsys/testsuite/Kconfig"

source "subsys/app_memory/Kconfig"

source "subsys/fb/Kconfig"
Loading