This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [unittests] XFAIL two unittests failing on NetBSD
AbandonedPublic

Authored by mgorny on Feb 14 2019, 1:16 AM.

Details

Summary

The two following LLDBServerTests fail reliably on NetBSD:

StandardStartupTest.TestStopReplyContainsThreadPcs
TestBase.LaunchModePreservesEnvironment

Establish an XFAIL behavior to let buildbots test for regressions
while we are still working on fixing them.

Diff Detail

Event Timeline

mgorny created this revision.Feb 14 2019, 1:16 AM

FTR, I've tried both @zturner's and @labath's XFAIL suggestions and the former doesn't work because we're not using exeptions, and the latter just gives some creepy C++ errors. Then I figured out this is probably the simplest and most readable possibility.

krytarowski accepted this revision.Feb 14 2019, 7:27 AM
This revision is now accepted and ready to land.Feb 14 2019, 7:27 AM
mgorny planned changes to this revision.Feb 14 2019, 1:58 PM

@labath suggested another implementation possibility on IRC, I'll be trying it tomorrow.

mgorny abandoned this revision.Feb 15 2019, 10:49 AM

Bad news: so far the alternate implementation suggestions don't work.

Good news: we don't need after all. The EINTR fix seems to have fixed all the remaining tests for us.