A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SET_TESTS_PROPERTIES Can not find test to add properties to.
[simgrid.git]
/
teshsuite
/
simix
/
CMakeLists.txt
diff --git
a/teshsuite/simix/CMakeLists.txt
b/teshsuite/simix/CMakeLists.txt
index
af6faa8
..
2af3e96
100644
(file)
--- a/
teshsuite/simix/CMakeLists.txt
+++ b/
teshsuite/simix/CMakeLists.txt
@@
-35,10
+35,10
@@
endif()
foreach (factory raw thread boost ucontext)
string (TOUPPER have_${factory}_contexts VARNAME)
foreach (factory raw thread boost ucontext)
string (TOUPPER have_${factory}_contexts VARNAME)
+ if (release AND ${VARNAME} AND (WIN32 OR CMAKE_SYSTEM_NAME MATCHES "Darwin"))
+ SET_TESTS_PROPERTIES(stack-overflow-${factory} PROPERTIES WILL_FAIL true)
+ endif()
if (${factory} STREQUAL "thread" OR ${VARNAME})
if (${factory} STREQUAL "thread" OR ${VARNAME})
- if (release AND (WIN32 OR CMAKE_SYSTEM_NAME MATCHES "Darwin"))
- SET_TESTS_PROPERTIES(stack-overflow-${factory} PROPERTIES WILL_FAIL true)
- endif()
ADD_TESH(tesh-simix-factory-${factory} --cfg contexts/factory:${factory} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simix/check-defaults --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simix/check-defaults factory_${factory}.tesh)
endif()
endforeach()
ADD_TESH(tesh-simix-factory-${factory} --cfg contexts/factory:${factory} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simix/check-defaults --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simix/check-defaults factory_${factory}.tesh)
endif()
endforeach()