Merge "Add a force fail for non-bionic xfail test."

This commit is contained in:
Christopher Ferris 2018-11-08 03:01:34 +00:00 committed by Gerrit Code Review
commit 6689b4f258

View file

@ -154,6 +154,9 @@ TEST(dl, xfail_preinit_getauxval) {
ExecTestHelper eth;
eth.SetArgs({ helper.c_str(), nullptr });
eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr);
#else
// Force a failure when not compiled for bionic so the test is considered a pass.
ASSERT_TRUE(false);
#endif
}