Commit b6347582 authored by Fabio Bas's avatar Fabio Bas
Browse files

Revert option from WITH_TESTS to TEST

parent 7fe60279
...@@ -234,8 +234,8 @@ if(WITH_ORACLE) ...@@ -234,8 +234,8 @@ if(WITH_ORACLE)
endif() endif()
# Compile tests (default off) # Compile tests (default off)
option(WITH_TESTS "build tests" OFF) option(TEST "build tests" OFF)
if(WITH_TESTS) if(TEST)
include(CTest) include(CTest)
add_subdirectory(tests) add_subdirectory(tests)
endif() endif()
...@@ -13,7 +13,7 @@ if [[ $TRAVIS_OS_NAME == "linux" && $QT4 == 0 ]]; then ...@@ -13,7 +13,7 @@ if [[ $TRAVIS_OS_NAME == "linux" && $QT4 == 0 ]]; then
fi fi
if [[ $BUILDTYPE == "Debug" ]]; then if [[ $BUILDTYPE == "Debug" ]]; then
cmake .. -DWITH_SERVER=1 -DWITH_TESTS=1 -DCMAKE_BUILD_TYPE=$BUILDTYPE -DWITH_QT4=$QT4 $prefix cmake .. -DWITH_SERVER=1 -DTEST=1 -DCMAKE_BUILD_TYPE=$BUILDTYPE -DWITH_QT4=$QT4 $prefix
make -j2 make -j2
make test make test
else else
......
Supports Markdown
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