mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josep...@apache.org
Subject [10/15] mesos git commit: Updated test filters to include value-parameterized tests.
Date Wed, 15 Nov 2017 08:13:34 GMT
Updated test filters to include value-parameterized tests.

Test filters currently check the name of tests and type parameters
if they exist.  This adds value-parameterized tests to the set of
strings checked against when applying the default test filters.

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


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

Branch: refs/heads/master
Commit: 3c929e057bb20c72c23be22863b3239b6bb7c203
Parents: 9086ece
Author: Joseph Wu <josephwu@apache.org>
Authored: Wed Oct 4 12:12:24 2017 -0700
Committer: Joseph Wu <josephwu@apache.org>
Committed: Tue Nov 14 17:16:21 2017 -0800

----------------------------------------------------------------------
 3rdparty/stout/include/stout/tests/environment.hpp | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/3c929e05/3rdparty/stout/include/stout/tests/environment.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/tests/environment.hpp b/3rdparty/stout/include/stout/tests/environment.hpp
index 0b30c18..8f8a420 100644
--- a/3rdparty/stout/include/stout/tests/environment.hpp
+++ b/3rdparty/stout/include/stout/tests/environment.hpp
@@ -53,6 +53,11 @@ public:
       return true;
     }
 
+    if (test->value_param() != nullptr &&
+        strings::contains(test->value_param(), pattern)) {
+      return true;
+    }
+
     return false;
   }
 };


Mime
View raw message