Merge "Add a force fail for non-bionic xfail test."
am: 6689b4f258
Change-Id: Ifb82b406aa125ba13040949a22a118f2c756a66a
diff --git a/tests/dl_test.cpp b/tests/dl_test.cpp
index 3f102ec..c1681ea 100644
--- a/tests/dl_test.cpp
+++ b/tests/dl_test.cpp
@@ -154,6 +154,9 @@
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
}