File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
source/tests/metacall_wasm_test Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -116,19 +116,24 @@ target_link_libraries(${target}
116116)
117117
118118#
119- # Define test
119+ # Define dependencies
120120#
121121
122- add_test ( NAME ${target}
123- COMMAND $<TARGET_FILE: ${target} >
122+ add_dependencies ( ${target}
123+ wasm_loader
124124)
125125
126126#
127- # Define dependencies
127+ # Define test
128128#
129129
130- add_dependencies (${target}
131- wasm_loader
130+ if (WIN32 AND OPTION_BUILD_ADDRESS_SANITIZER)
131+ # TODO: This test segfaults in windows when run with addres sanitizer without any output
132+ return ()
133+ endif ()
134+
135+ add_test (NAME ${target}
136+ COMMAND $<TARGET_FILE:${target} >
132137)
133138
134139#
@@ -139,11 +144,6 @@ set_property(TEST ${target}
139144 PROPERTY LABELS ${target}
140145)
141146
142- if (WIN32 AND OPTION_BUILD_ADDRESS_SANITIZER)
143- # TODO: This test segfaults in windows when run with addres sanitizer without any output
144- return ()
145- endif ()
146-
147147if (OPTION_BUILD_THREAD_SANITIZER)
148148 # TODO: This test fails when run with thread sanitizer:
149149 #
You can’t perform that action at this time.
0 commit comments