Skip to content

Commit 6ab4225

Browse files
Luiskyrzr
authored andcommitted
libs2/tf: SWPROT-8720: removed unity_print as it's useless on x86 (SiliconLabsSoftware#57)
removed unity_print as it's useless on x86 and unit tests only run on x86 nowadays (cherry picked from commit cc1e9bd53e9abeab1702212a33182192663cad81) Forwarded: SiliconLabsSoftware#57 Relate-to: SiliconLabsSoftware#50 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent c38000d commit 6ab4225

File tree

6 files changed

+2
-263
lines changed

6 files changed

+2
-263
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
2-
CROSS_SYSTEM_DIR("." "" CROSS_SYSTEM_DIR)
3-
4-
SET(SOURCES
5-
unity.c
6-
${CROSS_SYSTEM_DIR}/unity_print.c
7-
)
1+
SET(SOURCES unity.c)
82

93
# unity target may be imported be several projects, e.g. 700 series and libs2 simultaneously.
104
# This test ensures that the target named 'unity' will only be declared if it is not already declared.
115
if (NOT TARGET unity)
126
add_library(unity ${SOURCES} )
13-
target_compile_definitions(unity PUBLIC "-DUNITY_EXCLUDE_FLOAT -DUNITY_OUTPUT_CHAR=ZW_putchar")
7+
target_compile_definitions(unity PUBLIC "-DUNITY_EXCLUDE_FLOAT")
148
target_include_directories(unity PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
159
endif (NOT TARGET unity)
1610

applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/unity/asip/unity_print.c

-44
This file was deleted.

applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/unity/c51/unity_print.c

-97
This file was deleted.

applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/unity/generic/unity_print.c

-27
This file was deleted.

applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/unity/unity_print.h

-11
This file was deleted.

applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/unity/zw700/unity_print.c

-76
This file was deleted.

0 commit comments

Comments
 (0)