Really skip the tests in capsicum tests

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
lwhsu 2020-02-17 20:25:33 +00:00
parent 26f33e8b6d
commit 916c0d1ec6

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.