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/04/04 23:53:37 UTC

[09/13] mesos git commit: Stout: Removed `TRUE_COMMAND`.

Stout: Removed `TRUE_COMMAND`.

This macro was not working because they are semantically different:
a single binary versus a binary with arguments.

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


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

Branch: refs/heads/master
Commit: 7f04cf886fc2ed59414bf0056a2f351959a2d1f8
Parents: b9d0893
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Tue Apr 4 14:15:59 2017 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Tue Apr 4 16:45:17 2017 -0700

----------------------------------------------------------------------
 3rdparty/stout/include/stout/gtest.hpp | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/7f04cf88/3rdparty/stout/include/stout/gtest.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/gtest.hpp b/3rdparty/stout/include/stout/gtest.hpp
index 763fd7b..a004a37 100644
--- a/3rdparty/stout/include/stout/gtest.hpp
+++ b/3rdparty/stout/include/stout/gtest.hpp
@@ -230,13 +230,6 @@ template <typename T1, typename T2>
 #endif // __WINDOWS__
 
 
-#ifndef __WINDOWS__
-constexpr char TRUE_COMMAND[] = "true";
-#else
-constexpr char TRUE_COMMAND[] = "cmd /c exit 0";
-#endif // __WINDOWS__
-
-
 inline ::testing::AssertionResult AssertExited(
     const char* actualExpr,
     const int actual)