aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-02-24 11:28:38 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-02-24 11:28:38 +0100
commita7e4c0f8250ebcbab8cb26eea0730f12f5e4281d (patch)
tree9a3bfb1e2a9dd73af07269b41b49cf87844361fa /test
parentf7aa9873caab20d49afd622b5ef76ecff8bfef06 (diff)
make testsuite aware of EIGEN_CTEST_ARGS
Diffstat (limited to 'test')
-rw-r--r--test/testsuite.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testsuite.cmake b/test/testsuite.cmake
index 90edf2853..b68a327a9 100644
--- a/test/testsuite.cmake
+++ b/test/testsuite.cmake
@@ -147,6 +147,9 @@ endif(NOT EIGEN_NO_UPDATE)
# which ctest command to use for running the dashboard
SET (CTEST_COMMAND "${EIGEN_CMAKE_DIR}ctest -D ${EIGEN_MODE}")
+if($ENV{EIGEN_CTEST_ARGS})
+SET (CTEST_COMMAND "${CTEST_COMMAND} $ENV{EIGEN_CTEST_ARGS}")
+endif($ENV{EIGEN_CTEST_ARGS})
# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND "${EIGEN_CMAKE_DIR}cmake -DEIGEN_LEAVE_TEST_IN_ALL_TARGET=ON")