aboutsummaryrefslogtreecommitdiff
path: root/tests/travis
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2019-01-17 07:55:19 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2019-01-17 08:43:31 +0100
commitdcdef2d460ae3fff2d36fabaf543dd243f6558be (patch)
tree20c8f1234c2bc3f95ad0b1dea48b0286dde3b8c2 /tests/travis
parentc5611635f057f118e686784ec865681baf1cb2e4 (diff)
downloadqxmpp-dcdef2d460ae3fff2d36fabaf543dd243f6558be.tar.gz
[tests] add CMake option to build internal tests
Some tests are disabled by default as they require exporting additional symbols which are not part of the public API. The BUILD_INTERNAL_TESTS option makes it possible to enable these additional tests.
Diffstat (limited to 'tests/travis')
-rwxr-xr-xtests/travis/build-and-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/travis/build-and-test b/tests/travis/build-and-test
index 09000e61..f677f4a8 100755
--- a/tests/travis/build-and-test
+++ b/tests/travis/build-and-test
@@ -11,7 +11,7 @@ esac
case "$CONFIG" in
*debug*)
- CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE:STRING=Debug"
+ CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_INTERNAL_TESTS:BOOL=True"
;;
esac