You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2017/02/28 22:35:42 UTC

[6/6] mesos git commit: CMake: Exclude tests from the default build.

CMake: Exclude tests from the default build.

Currently, if you run `make`, you will end up building the `stout-tests`
binary because we do not exclude it from the default build.  This
commit adds the `EXCLUDE_FROM_ALL` property to the `stout-tests` binary.

`make check` will still run the test.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e4c6acb0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e4c6acb0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e4c6acb0

Branch: refs/heads/master
Commit: e4c6acb01a52635232c9688adaa4a930e15432c7
Parents: 1fa3299
Author: Joseph Wu <jo...@apache.org>
Authored: Tue Feb 28 14:20:30 2017 -0800
Committer: Joseph Wu <jo...@apache.org>
Committed: Tue Feb 28 14:33:45 2017 -0800

----------------------------------------------------------------------
 3rdparty/stout/tests/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e4c6acb0/3rdparty/stout/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/stout/tests/CMakeLists.txt b/3rdparty/stout/tests/CMakeLists.txt
index 4e22bf6..4bbe713 100644
--- a/3rdparty/stout/tests/CMakeLists.txt
+++ b/3rdparty/stout/tests/CMakeLists.txt
@@ -106,7 +106,7 @@ link_directories(${STOUT_TEST_LIB_DIRS})
 
 # THE STOUT TEST EXECUTABLE (generates, e.g., stout-tests, etc., on Linux).
 ###########################################################################
-add_executable(${STOUT_TESTS_TARGET} ${STOUT_TESTS_SRC})
+add_executable(${STOUT_TESTS_TARGET} EXCLUDE_FROM_ALL ${STOUT_TESTS_SRC})
 
 GROUP_STOUT_HEADERS()