From cbf8420b2a4b162b8adae3680bbc1a68a6676b72 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 5 Apr 2021 13:54:33 -0700 Subject: [PATCH] Add cow_api_test to presubmit. These are unit tests for important VAB functionality. They are very quick to run and should be included in presubmit testing. Bug: N/A Test: th green Change-Id: I02e24c76df365e9fb2d68f904e930dce60b9bdaf --- fs_mgr/TEST_MAPPING | 3 +++ fs_mgr/libsnapshot/Android.bp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/fs_mgr/TEST_MAPPING b/fs_mgr/TEST_MAPPING index a34940824..84709b6a8 100644 --- a/fs_mgr/TEST_MAPPING +++ b/fs_mgr/TEST_MAPPING @@ -17,6 +17,9 @@ }, { "name": "libsnapshot_fuzzer_test" + }, + { + "name": "cow_api_test" } ] } diff --git a/fs_mgr/libsnapshot/Android.bp b/fs_mgr/libsnapshot/Android.bp index adfb56ce0..104484d19 100644 --- a/fs_mgr/libsnapshot/Android.bp +++ b/fs_mgr/libsnapshot/Android.bp @@ -479,6 +479,9 @@ cc_test { "libgtest", "libsnapshot_cow", ], + test_suites: [ + "device-tests" + ], test_min_api_level: 30, auto_gen_config: true, require_root: false,