You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2017/01/07 09:41:19 UTC

[1/3] mesos git commit: CMake: renamed test binaries to match autotools.

Repository: mesos
Updated Branches:
  refs/heads/master be127e6ec -> 344080db4


CMake: renamed test binaries to match autotools.

Currently CMake generates test binaries named `stout_tests`,
`process_tests` (underscores), and `mesos-tests` (dash).

We should simply follow the naming from autotools and call them
`stout-tests`, `libprocess-tests`, and `mesos-tests`.

Review: https://reviews.apache.org/r/55006


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

Branch: refs/heads/master
Commit: 344080db408c21ec9a05f951548919037855a4a5
Parents: 9cfb285
Author: Michael Park <mp...@apache.org>
Authored: Thu Dec 22 21:06:20 2016 -0500
Committer: Michael Park <mp...@apache.org>
Committed: Sat Jan 7 01:33:18 2017 -0800

----------------------------------------------------------------------
 src/tests/CMakeLists.txt  | 2 +-
 support/windows-build.bat | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/344080db/src/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index b034f1b..b7adf4f 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -229,7 +229,7 @@ include_directories(${MESOS_TESTS_INCLUDE_DIRS})
 ######################################################################
 link_directories(${MESOS_TESTS_LIB_DIRS})
 
-# THE TEST AND HELPER EXECUTABLEs (generates, e.g., stout_tests, etc., on Linux).
+# THE TEST AND HELPER EXECUTABLEs (generates, e.g., stout-tests, etc., on Linux).
 #################################$###############################################
 add_executable(${MESOS_TESTS_TARGET} ${MESOS_TESTS_SRC})
 add_executable(${TEST_HELPER_TARGET} ${TEST_HELPER_SRC})

http://git-wip-us.apache.org/repos/asf/mesos/blob/344080db/support/windows-build.bat
----------------------------------------------------------------------
diff --git a/support/windows-build.bat b/support/windows-build.bat
index 4d1d8cd..09a9f83 100644
--- a/support/windows-build.bat
+++ b/support/windows-build.bat
@@ -63,17 +63,17 @@ REM NOTE: Specifying a build "target" is done via the build option `/t`.
 REM Multiple targets can be specified with semi-comma separation.
 
 REM Build and run the stout tests.
-msbuild Mesos.sln /p:PreferredToolArchitecture=x64 /m /t:stout_tests
+msbuild Mesos.sln /p:PreferredToolArchitecture=x64 /m /t:stout-tests
 if %errorlevel% neq 0 exit /b %errorlevel%
 
-"3rdparty/stout/tests/Debug/stout_tests.exe"
+"3rdparty/stout/tests/Debug/stout-tests.exe"
 if %errorlevel% neq 0 exit /b %errorlevel%
 
 REM Build and run the libprocess tests.
-msbuild Mesos.sln /p:PreferredToolArchitecture=x64 /m /t:process_tests
+msbuild Mesos.sln /p:PreferredToolArchitecture=x64 /m /t:libprocess-tests
 if %errorlevel% neq 0 exit /b %errorlevel%
 
-"3rdparty/libprocess/src/tests/Debug/process_tests.exe"
+"3rdparty/libprocess/src/tests/Debug/libprocess-tests.exe"
 if %errorlevel% neq 0 exit /b %errorlevel%
 
 REM Build everything else.


[3/3] mesos git commit: CMake: renamed `stout_tests` to `stout-tests` to match autotools.

Posted by mp...@apache.org.
CMake: renamed `stout_tests` to `stout-tests` to match autotools.

Review: https://reviews.apache.org/r/55004


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

Branch: refs/heads/master
Commit: de1ccbd9aed6de8846afbebbfb5b3bae4bd572ed
Parents: be127e6
Author: Michael Park <mp...@apache.org>
Authored: Thu Dec 22 20:57:59 2016 -0500
Committer: Michael Park <mp...@apache.org>
Committed: Sat Jan 7 01:33:18 2017 -0800

----------------------------------------------------------------------
 3rdparty/stout/cmake/StoutTestsConfigure.cmake | 2 +-
 3rdparty/stout/tests/CMakeLists.txt            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/de1ccbd9/3rdparty/stout/cmake/StoutTestsConfigure.cmake
----------------------------------------------------------------------
diff --git a/3rdparty/stout/cmake/StoutTestsConfigure.cmake b/3rdparty/stout/cmake/StoutTestsConfigure.cmake
index d62fe72..d3bd72e 100644
--- a/3rdparty/stout/cmake/StoutTestsConfigure.cmake
+++ b/3rdparty/stout/cmake/StoutTestsConfigure.cmake
@@ -32,7 +32,7 @@
 #     having to also export the variables for test-only dependencies.
 
 set(
-  STOUT_TESTS_TARGET stout_tests
+  STOUT_TESTS_TARGET stout-tests
   CACHE STRING "Target we use to refer to tests for the stout library")
 
 # COMPILER CONFIGURATION.

http://git-wip-us.apache.org/repos/asf/mesos/blob/de1ccbd9/3rdparty/stout/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/stout/tests/CMakeLists.txt b/3rdparty/stout/tests/CMakeLists.txt
index a09693d..724bfb1 100644
--- a/3rdparty/stout/tests/CMakeLists.txt
+++ b/3rdparty/stout/tests/CMakeLists.txt
@@ -86,7 +86,7 @@ include_directories(${STOUT_TEST_INCLUDE_DIRS})
 ###########################################################################
 link_directories(${STOUT_TEST_LIB_DIRS})
 
-# THE STOUT TEST EXECUTABLE (generates, e.g., stout_tests, etc., on Linux).
+# THE STOUT TEST EXECUTABLE (generates, e.g., stout-tests, etc., on Linux).
 ###########################################################################
 add_executable(${STOUT_TESTS_TARGET} ${STOUT_TESTS_SRC})
 


[2/3] mesos git commit: CMake: renamed `process_tests` to `libprocess-tests` to match autotools.

Posted by mp...@apache.org.
CMake: renamed `process_tests` to `libprocess-tests` to match autotools.

Review: https://reviews.apache.org/r/55005


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

Branch: refs/heads/master
Commit: 9cfb28537679cd26fb584932466c0d5f51ac2a21
Parents: de1ccbd
Author: Michael Park <mp...@apache.org>
Authored: Thu Dec 22 20:58:13 2016 -0500
Committer: Michael Park <mp...@apache.org>
Committed: Sat Jan 7 01:33:18 2017 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake | 2 +-
 3rdparty/libprocess/src/tests/CMakeLists.txt          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/9cfb2853/3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake b/3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake
index 9817426..49ad836 100644
--- a/3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake
+++ b/3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake
@@ -17,7 +17,7 @@
 include(StoutTestsConfigure)
 
 set(
-  PROCESS_TESTS_TARGET process_tests
+  PROCESS_TESTS_TARGET libprocess-tests
   CACHE STRING "Target we use to refer to tests for the process library")
 
 # DEFINE PROCESS TEST LIBRARY DEPENDENCIES. Tells the process library build

http://git-wip-us.apache.org/repos/asf/mesos/blob/9cfb2853/3rdparty/libprocess/src/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/tests/CMakeLists.txt b/3rdparty/libprocess/src/tests/CMakeLists.txt
index 4b80c39..0b2660c 100644
--- a/3rdparty/libprocess/src/tests/CMakeLists.txt
+++ b/3rdparty/libprocess/src/tests/CMakeLists.txt
@@ -64,7 +64,7 @@ include_directories(${PROCESS_TEST_INCLUDE_DIRS})
 ###########################################################################
 link_directories(${PROCESS_TEST_LIB_DIRS})
 
-# THE PROCESS TEST EXECUTABLE (generates, e.g., process_tests, etc., on Linux).
+# THE PROCESS TEST EXECUTABLE (generates, e.g., libprocess-tests, etc., on Linux).
 ###############################################################################
 add_executable(${PROCESS_TESTS_TARGET} ${PROCESS_TESTS_SRC})