diff options
-rw-r--r-- | tests/TEST_MAPPING | 5 | ||||
-rw-r--r-- | tests/dmabuf_heap_test.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/TEST_MAPPING b/tests/TEST_MAPPING index fb3b813..5bdb1d3 100644 --- a/tests/TEST_MAPPING +++ b/tests/TEST_MAPPING @@ -3,5 +3,10 @@ { "name": "dmabufheap-unit-tests" } + ], + "hwasan-postsubmit": [ + { + "name": "dmabufheap-unit-tests" + } ] } diff --git a/tests/dmabuf_heap_test.cpp b/tests/dmabuf_heap_test.cpp index c88cf14..d9b00be 100644 --- a/tests/dmabuf_heap_test.cpp +++ b/tests/dmabuf_heap_test.cpp @@ -285,7 +285,7 @@ TEST_F(DmaBufHeapTest, TestDeviceCapabilityCheck) { TEST_F(DmaBufHeapTest, TestDmabufSystemHeapCompliance) { using android::vintf::KernelVersion; - if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_S__) { + if (android::base::GetIntProperty("ro.vendor.api_level", 0) < __ANDROID_API_S__) { GTEST_SKIP(); } |