Really skip the tests in capsicum tests

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2020-02-17 20:25:33 +00:00
parent 9260381051
commit 80986ae0c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358048

View file

@ -248,6 +248,7 @@ void TestSkipped(const char *testcase, const char *test, const std::string& reas
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.