svn commit: r344727 - projects/fuse2/tests/sys/fs/fuse

Enji Cooper (yaneurabeya) yaneurabeya at gmail.com
Sat Mar 2 20:31:52 UTC 2019


> On Mar 2, 2019, at 11:38, Enji Cooper (yaneurabeya) <yaneurabeya at gmail.com> wrote:
> 
> 
>> On Mar 2, 2019, at 08:28, Alan Somers <asomers at FreeBSD.org> wrote:

…

>> Oddly, it's not possible to skip a test in any other way.

I want to highlight this sentence a bit.

It’s possible to skip test cases by prefixing them with `DISABLED_` — which you can then ignore when rerunning the test program via `—gtest_also_run_disabled_tests`. However, you can actually skip tests at runtime via the `GTEST_SKIP()` macro, as well, which in combination with `SetupEnvironment(..)` is probably the most correct way to handle prerequisites not being met at runtime.

HTH,
-Enji


More information about the svn-src-projects mailing list