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

Commit 4aa80106 authored by David Duarte's avatar David Duarte
Browse files

BluetoothInstrumentationTests: Use an existing directory as test-filter-dir

And document why the fix is needed

Test: atest BluetoothInstrumentationTests -- --exclude-filter AdapterServiceTest#testObfuscateBluetoothAddress_PersistentBetweenAdapterServiceInitialization
Fix: 255088822
Change-Id: Ia8aa2aa35881e1f23c430761b81ce39577027006
parent 39e67c97
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -35,7 +35,11 @@
    <option name="test-tag" value="BluetoothInstrumentationTests" />
    <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
        <option name="package" value="com.android.bluetooth.tests" />
        <option name="test-filter-dir" value="/data/data/{PACKAGE}/cache" />
        <!-- include and exclude filters go into /data/local/tmp/ajur/ by default
             However it's prohibited for access by system uid packages.
             So instead we use the test data folder for filter. This is applicable
             here as we are root. -->
        <option name="test-filter-dir" value="/data/data/com.android.bluetooth.tests" />
        <option name="hidden-api-checks" value="false"/>
    </test>