Disable StubTest.APutObj if heap poisoning is enabled.
The StubTest.APutObj test currently fails (crashes) as it runs code
that does not support heap poisoning yet. Disable it until such
support is added.
Bug: 12687968
Change-Id: I70d1f7f300e70ffae970ebeca9a29849aa7dffc6
diff --git a/runtime/arch/stub_test.cc b/runtime/arch/stub_test.cc
index 543e695..1dd7e21 100644
--- a/runtime/arch/stub_test.cc
+++ b/runtime/arch/stub_test.cc
@@ -266,6 +266,8 @@
#endif
TEST_F(StubTest, APutObj) {
+ TEST_DISABLED_FOR_HEAP_REFERENCE_POISONING();
+
#if defined(__i386__) || defined(__arm__)
Thread* self = Thread::Current();
// Create an object