From 37d16e06c4553a5e77580b0160f53d48d273777f Mon Sep 17 00:00:00 2001 From: Philip Wiese Date: Tue, 10 Dec 2024 17:43:22 +0100 Subject: [PATCH] Enable garbage collection for the tests --- tests/chimera-host/host/returnZero/CMakeLists.txt | 12 ++++++------ .../snitchCluster/simpleOffload/CMakeLists.txt | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/chimera-host/host/returnZero/CMakeLists.txt b/tests/chimera-host/host/returnZero/CMakeLists.txt index 9bced50..3e4860e 100644 --- a/tests/chimera-host/host/returnZero/CMakeLists.txt +++ b/tests/chimera-host/host/returnZero/CMakeLists.txt @@ -40,10 +40,10 @@ target_compile_options(${TEST_NAME}_host -fdata-sections ) -# target_link_options(${TEST_NAME} -# PUBLIC -# -Wl,--print-memory-usage -# -Wl,--print-gc-sections -# -Wl,--gc-sections -# ) +target_link_options(${TEST_NAME} + PUBLIC + -Wl,--print-memory-usage + -Wl,--print-gc-sections + -Wl,--gc-sections +) diff --git a/tests/chimera-open/snitchCluster/simpleOffload/CMakeLists.txt b/tests/chimera-open/snitchCluster/simpleOffload/CMakeLists.txt index f3e565f..447dff0 100644 --- a/tests/chimera-open/snitchCluster/simpleOffload/CMakeLists.txt +++ b/tests/chimera-open/snitchCluster/simpleOffload/CMakeLists.txt @@ -62,10 +62,10 @@ target_compile_options(${TEST_NAME}_cluster -fdata-sections ) -# target_link_options(${TEST_NAME} -# PUBLIC -# -Wl,--print-memory-usage -# -Wl,--print-gc-sections -# -Wl,--gc-sections -# ) +target_link_options(${TEST_NAME} + PUBLIC + -Wl,--print-memory-usage + -Wl,--print-gc-sections + -Wl,--gc-sections +)