svn commit: r358048 - head/contrib/capsicum-test

Li-Wen Hsu lwhsu at FreeBSD.org
Mon Feb 17 20:25:35 UTC 2020


Author: lwhsu
Date: Mon Feb 17 20:25:33 2020
New Revision: 358048
URL: https://svnweb.freebsd.org/changeset/base/358048

Log:
  Really skip the tests in capsicum tests
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/contrib/capsicum-test/capsicum-test.h

Modified: head/contrib/capsicum-test/capsicum-test.h
==============================================================================
--- head/contrib/capsicum-test/capsicum-test.h	Mon Feb 17 20:25:29 2020	(r358047)
+++ head/contrib/capsicum-test/capsicum-test.h	Mon Feb 17 20:25:33 2020	(r358048)
@@ -248,6 +248,7 @@ void TestSkipped(const char *testcase, const char *tes
     const ::testing::TestInfo* const info = ::testing::UnitTest::GetInstance()->current_test_info(); \
     std::cerr << "Skipping " << info->test_case_name() << "::" << info->name() << " because: " << reason << std::endl; \
     TestSkipped(info->test_case_name(), info->name(), reason);          \
+    GTEST_SKIP(); \
   } while (0)
 
 // Mark a test that can only be run as root.


More information about the svn-src-all mailing list