Really skip the tests in capsicum tests
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
26f33e8b6d
commit
916c0d1ec6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user