You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2020/01/06 13:44:23 UTC
[mesos] 01/02: Made sure all targets are build for cmake `tests`
target.
This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 0ec5d91e9f89e078d2cb851c733d13ea152e6fe6
Author: Benjamin Bannier <bb...@apache.org>
AuthorDate: Mon Jan 6 14:08:35 2020 +0100
Made sure all targets are build for cmake `tests` target.
This target not only contains dependencies for the `test` target (which
actually exercises the tests), but for all build dependencies so we can
make sure the targets still build.
Review: https://reviews.apache.org/r/71717/
---
src/tests/CMakeLists.txt | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 9c4b4f8..e43eb25 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -332,7 +332,8 @@ if (NOT WIN32)
mesos-local
mesos-log
mesos-logrotate-logger
- mesos-master)
+ mesos-master
+ mesos-resolve)
# The tests require all the test modules. These are not directly linked but
# instead loaded at runtime, hence the manual dependency here.
@@ -362,6 +363,7 @@ if (NOT WIN32)
disk-full-framework
docker-no-executor-framework
dynamic-reservation-framework
+ inverse-offer-framework
load-generator-framework
long-lived-executor
long-lived-framework
@@ -380,6 +382,14 @@ if (NOT WIN32)
mesos-tests
test-csi-plugin)
endif ()
+
+ if (NOT ENABLE_NEW_CLI)
+ add_dependencies(mesos-tests
+ mesos-cli)
+ else ()
+ add_dependencies(mesos-tests
+ cli)
+ endif ()
endif ()