|
Boost-Commit : |
From: dgregor_at_[hidden]
Date: 2007-06-05 00:09:59
Author: dgregor
Date: 2007-06-05 00:09:58 EDT (Tue, 05 Jun 2007)
New Revision: 4446
URL: http://svn.boost.org/trac/boost/changeset/4446
Log:
Disable threads when testing the Statechart library
Text files modified:
sandbox-branches/boost-cmake/boost_1_34_0/libs/statechart/test/CMakeLists.txt | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Modified: sandbox-branches/boost-cmake/boost_1_34_0/libs/statechart/test/CMakeLists.txt
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/libs/statechart/test/CMakeLists.txt (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/libs/statechart/test/CMakeLists.txt 2007-06-05 00:09:58 EDT (Tue, 05 Jun 2007)
@@ -19,21 +19,22 @@
macro(statechart_run TESTNAME)
boost_test_run("${TESTNAME}Normal"
SOURCES ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS"
DEPENDS boost_test_exec_monitor-static
)
boost_test_run("${TESTNAME}Native"
SOURCES ${TESTNAME}.cpp
- COMPILE_FLAGS "-DBOOST_STATECHART_USE_NATIVE_RTTI"
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS -DBOOST_STATECHART_USE_NATIVE_RTTI"
DEPENDS boost_test_exec_monitor-static
)
boost_test_run("${TESTNAME}Relaxed"
SOURCES ${TESTNAME}.cpp
- COMPILE_FLAGS "-DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS -DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
DEPENDS boost_test_exec_monitor-static
)
boost_test_run("${TESTNAME}Both"
SOURCES ${TESTNAME}.cpp
- COMPILE_FLAGS "-DBOOST_STATECHART_USE_NATIVE_RTTI -DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS -DBOOST_STATECHART_USE_NATIVE_RTTI -DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
DEPENDS boost_test_exec_monitor-static
)
endmacro(statechart_run)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk