Skip to content

Commit dbc0025

Browse files
committed
Prevent ASAN errors on windows CI
1 parent 82c65e9 commit dbc0025

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/beman/task/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
22

3-
list(
4-
APPEND task_tests
5-
# FIXME! msvc-asan-issue
3+
set(task_tests
64
allocator_of
75
allocator_support
86
completion
@@ -20,11 +18,14 @@ list(
2018
single_thread_context
2119
state_base
2220
sub_visit
23-
task
2421
task_scheduler
2522
with_error
2623
)
2724

25+
if(NOT MSVC)
26+
list(APPEND task_tests msvc-asan-issue task)
27+
endif()
28+
2829
foreach(test ${task_tests})
2930
add_executable(beman.task.tests.${test})
3031
target_sources(beman.task.tests.${test} PRIVATE ${test}.test.cpp)

0 commit comments

Comments
 (0)