Commit 407e6514 authored by Olivier Stasse's avatar Olivier Stasse Committed by Guilhem Saurel
Browse files

[cmake] Add FULL_BUILD_TESTING option

To compile only when explicitly asked the full tests for releases and algorithm validation.
Add TestNaveau2015Onlinesimple reference trajectories.
parent 2cdf96f8
......@@ -13,6 +13,7 @@ SET(PROJECT_URL "https://github.com/${PROJECT_ORG}/${PROJECT_NAME}")
OPTION(USE_LSSOL "Do you want to use the solver lssol?" OFF)
OPTION(USE_QUADPROG "Do you want to use the solver eigen-quadprog?" ON)
OPTION(SUFFIX_SO_VERSION "Suffix library name with its version" ON)
OPTION(FULL_BUILD_TESTING "Complete and long testing" OFF)
# Project configuration
SET(PROJECT_USE_CMAKE_EXPORT TRUE)
......
......@@ -167,8 +167,11 @@ IF(BUILD_TESTING)
ADD_JRL_WALKGEN_TEST(TestKajita2003StraightWalking TestKajita2003.cpp)
ADD_JRL_WALKGEN_TEST(TestKajita2003Circle TestKajita2003.cpp)
ADD_JRL_WALKGEN_TEST(TestKajita2003PbFlorentSeq1 TestKajita2003.cpp)
ADD_JRL_WALKGEN_TEST(TestKajita2003PbFlorentSeq2 TestKajita2003.cpp)
ADD_JRL_WALKGEN_TEST(TestKajita2003WalkingOnSpot TestKajita2003.cpp)
IF(FULL_BUILD_TESTING)
ADD_JRL_WALKGEN_TEST(TestKajita2003PbFlorentSeq2 TestKajita2003.cpp)
ENDIF(FULL_BUILD_TESTING)
ENDIF(BUILD_TESTING)
##########################
......@@ -184,11 +187,13 @@ ENDIF(BUILD_TESTING)
# Disabled as the test fail : random results oscillating around mean behaviour
IF(BUILD_TESTING)
ADD_JRL_WALKGEN_TEST(TestNaveau2015Online TestNaveau2015.cpp)
SET_TESTS_PROPERTIES("TestNaveau2015Online${BITS}" PROPERTIES TIMEOUT 7200)
ADD_JRL_WALKGEN_TEST(TestNaveau2015OnlineSimple TestNaveau2015.cpp)
IF (FULL_BUILD_TESTING)
ADD_JRL_WALKGEN_TEST(TestNaveau2015Online TestNaveau2015.cpp)
SET_TESTS_PROPERTIES("TestNaveau2015Online${BITS}" PROPERTIES TIMEOUT 7200)
ENDIF(FULL_BUILD_TESTING)
ENDIF(BUILD_TESTING)
#ADD_JRL_WALKGEN_EXE(TestNaveau2015OnlineSimple TestNaveau2015.cpp)
#####################
# Add user examples #
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment