Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Thread factory is always valid.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 7 Jan 2019 14:17:16 +0000 (15:17 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 7 Jan 2019 14:17:16 +0000 (15:17 +0100)
teshsuite/simix/CMakeLists.txt

index ae82396..b6aa7d1 100644 (file)
@@ -34,7 +34,7 @@ endif()
 
 foreach (factory raw thread boost ucontext)
   string (TOUPPER have_${factory}_contexts VARNAME)
-  if (${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()