Integration test for CompOS

The only test case initially is to verify that odrefresh can succeed
with dex2oat running in the VM.  The current goal is to keep the test
running.

In the longer term, when we're ready to increase the end-to-end test
coversage, we might want to figure out a better place to host the test,
e.g. possibly odsign_e2e_tests.

Bug: 192690283
Test: atest ComposHostTestCases
Change-Id: Ic1395437d8bc13c72b21e6460242ccb445be2b87
diff --git a/compos/tests/AndroidTest.xml b/compos/tests/AndroidTest.xml
new file mode 100644
index 0000000..61b6d47
--- /dev/null
+++ b/compos/tests/AndroidTest.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2021 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<configuration description="Tests for CompOS">
+    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
+        <option name="force-root" value="true" />
+    </target_preparer>
+
+    <!-- virtualizationservice doesn't have access to shell_data_file. Instead of giving it
+      a test-only permission, run it without selinux -->
+    <target_preparer class="com.android.tradefed.targetprep.DisableSELinuxTargetPreparer"/>
+
+    <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >
+        <option name="jar" value="ComposHostTestCases.jar" />
+    </test>
+</configuration>