Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5995bc58 authored by Alan Stokes's avatar Alan Stokes
Browse files

Run PackageManagerShellCommandTest in Treehugger.

Atest was showing a warning:

WARNING: PackageManagerShellCommandTest is not a valid build target
and may not be discoverable by TreeHugger. If you want to specify a
class or test-package, please set 'name' to the test module and use
'options' to specify the right tests via 'include-filter'.

This change fixes that warning; it may even allow the tests to be run
in Treehugger presubmit.

Test: atest PackageManagerShellCommandTest
Test: atest -b -p services/core/java/com/android/server/pm (tests build, no warning)
Change-Id: I6f507ec005fc2e946358e2d54ed4d255705c5e9b
parent 6c7acfd6
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,12 @@
      ]
      ]
    },
    },
    {
    {
      "name": "PackageManagerShellCommandTest"
      "name": "CtsContentTestCases",
      "options": [
        {
          "include-filter": "android.content.pm.cts.PackageManagerShellCommandTest"
        }
      ]
    },
    },
    {
    {
      "name": "GtsSecurityHostTestCases",
      "name": "GtsSecurityHostTestCases",