Date: Mon, 17 Feb 2020 20:25:34 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358048 - head/contrib/capsicum-test Message-ID: <202002172025.01HKPYda077656@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002172025.01HKPYda077656>