aboutsummaryrefslogtreecommitdiff
path: root/contrib/capsicum-test
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-02-17 20:25:33 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-02-17 20:25:33 +0000
commit80986ae0c17eae7feeaf00ccb81aa2c9068f446b (patch)
tree9c4f66e2349cf47c601235c0abba1653b721ebac /contrib/capsicum-test
parent9260381051d737a0bc8e276efa10a12805f995c9 (diff)
downloadsrc-80986ae0c17eae7feeaf00ccb81aa2c9068f446b.tar.gz
src-80986ae0c17eae7feeaf00ccb81aa2c9068f446b.zip
Really skip the tests in capsicum tests
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=358048
Diffstat (limited to 'contrib/capsicum-test')
-rw-r--r--contrib/capsicum-test/capsicum-test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/capsicum-test/capsicum-test.h b/contrib/capsicum-test/capsicum-test.h
index 4251302e8681..821100c48167 100644
--- a/contrib/capsicum-test/capsicum-test.h
+++ b/contrib/capsicum-test/capsicum-test.h
@@ -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.