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.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to