Skip to content

Commit 03ca922

Browse files
committed
Zephyr
1. Exclude the file regress.c from the Zephyr testing sample. The test is covered in many other environments already. The test needs some retooling to fit in with the Zephyr build, as it is a standalone application with a main() function and it depends on a testing build of libwolfssh. 2. Whitespace.
1 parent 2e5484f commit 03ca922

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

zephyr/samples/tests/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
44
project(wolfssl_tests)
55

66
FILE(GLOB app_sources ../../../tests/*.c ../../../examples/client/client.c
7-
../../../examples/client/common.c ../../../examples/echoserver/echoserver.c
8-
../../../examples/sftpclient/sftpclient.c tests.c)
7+
../../../examples/client/common.c ../../../examples/echoserver/echoserver.c
8+
../../../examples/sftpclient/sftpclient.c tests.c)
9+
# Remove the file regress.c from the list of test app sources. The regression
10+
# test is covered in many other environments.
11+
list(REMOVE_ITEM app_sources
12+
"${CMAKE_CURRENT_SOURCE_DIR}/../../../tests/regress.c")
913
target_sources(app PRIVATE ${app_sources})
1014
add_definitions(-DWOLFSSL_ZEPHYR)
1115
add_definitions(-DWOLFSSL_USER_SETTINGS)

0 commit comments

Comments
 (0)