Skip to content

Commit

Permalink
Add Sdk31ModuleController support to ART run-tests and gtests. am: 0…
Browse files Browse the repository at this point in the history
…d1c54d am: 768525e

Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15473174

Change-Id: Id9004ceddb77f6105c4c2b20f05e88e659013c69
  • Loading branch information
roland-levillain authored and android-build-merge-worker-robot committed Aug 13, 2021
2 parents c93099d + 768525e commit c132759
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/art_standalone_compiler_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions dex2oat/art_standalone_dex2oat_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions dexoptanalyzer/art_standalone_dexoptanalyzer_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions libdexfile/art_standalone_libdexfile_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions libprofile/art_standalone_libprofile_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions oatdump/art_standalone_oatdump_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions profman/art_standalone_profman_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions runtime/art_standalone_runtime_compiler_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions runtime/art_standalone_runtime_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions test/art-gtests-target-chroot.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions test/art-gtests-target-install-apex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions test/art-gtests-target-standalone-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>
3 changes: 3 additions & 0 deletions test/art-run-test-target-no-test-suite-tag-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@
<!-- ART Mainline Module (external (AOSP) version). -->
<option name="mainline-module-package-name" value="com.android.art" />
</object>

<!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. -->
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" />
</configuration>

0 comments on commit c132759

Please sign in to comment.