From: Andreas Gampe Date: Mon, 25 Mar 2019 18:37:15 +0000 (-0700) Subject: Installd: Add explicit test configurations X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=75d394ebb6d098540d06763e842f71cf5149daf0;p=android-x86%2Fframeworks-native.git Installd: Add explicit test configurations Most tests require a root shell for their work. Test: adb unroot ; atest installd_cache_test Test: adb unroot ; atest installd_dexopt_test Test: adb unroot ; atest installd_otapreopt_test Test: adb unroot ; atest installd_service_test Test: adb unroot ; atest installd_utils_test Change-Id: I657cd276ca71dd63c5c72e13f8b2971b9031e204 --- diff --git a/cmds/installd/tests/Android.bp b/cmds/installd/tests/Android.bp index 1ed49a0cfd..aa79fdc100 100644 --- a/cmds/installd/tests/Android.bp +++ b/cmds/installd/tests/Android.bp @@ -15,6 +15,7 @@ cc_test { "libinstalld", "liblog", ], + test_config: "installd_utils_test.xml", } cc_test { @@ -39,6 +40,7 @@ cc_test { "liblog", "liblogwrap", ], + test_config: "installd_cache_test.xml", } cc_test { @@ -63,6 +65,7 @@ cc_test { "liblog", "liblogwrap", ], + test_config: "installd_service_test.xml", } cc_test { @@ -87,6 +90,7 @@ cc_test { "liblog", "liblogwrap", ], + test_config: "installd_dexopt_test.xml", } cc_test { diff --git a/cmds/installd/tests/installd_cache_test.xml b/cmds/installd/tests/installd_cache_test.xml new file mode 100644 index 0000000000..97af514ad6 --- /dev/null +++ b/cmds/installd/tests/installd_cache_test.xml @@ -0,0 +1,34 @@ + + + + + diff --git a/cmds/installd/tests/installd_dexopt_test.xml b/cmds/installd/tests/installd_dexopt_test.xml new file mode 100644 index 0000000000..24526cc314 --- /dev/null +++ b/cmds/installd/tests/installd_dexopt_test.xml @@ -0,0 +1,35 @@ + + + + + diff --git a/cmds/installd/tests/installd_service_test.xml b/cmds/installd/tests/installd_service_test.xml new file mode 100644 index 0000000000..b838f4ff24 --- /dev/null +++ b/cmds/installd/tests/installd_service_test.xml @@ -0,0 +1,34 @@ + + + + + diff --git a/cmds/installd/tests/installd_utils_test.xml b/cmds/installd/tests/installd_utils_test.xml new file mode 100644 index 0000000000..92aba50f49 --- /dev/null +++ b/cmds/installd/tests/installd_utils_test.xml @@ -0,0 +1,34 @@ + + + + +