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

Commit 02b215e0 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 13190096 from ba332a46 to 25Q2-release

Change-Id: I22b57a3f7f4e3f1aae9de9aa24119c77cc5f59a3
parents 346a4194 ba332a46
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,13 +26,13 @@
    </target_preparer>
    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.MediaPreparer">
        <option name="push-all" value="true" />
        <option name="media-folder-name" value="/data/local/tmp/extractor-1.5" />
        <option name="media-folder-name" value="/data/local/tmp/extractorFactory-1.5" />
        <option name="dynamic-config-module" value="ExtractorFactoryTest" />
    </target_preparer>

    <test class="com.android.tradefed.testtype.GTest" >
        <option name="native-test-device-path" value="/data/local/tmp" />
        <option name="module-name" value="ExtractorFactoryTest" />
        <option name="native-test-flag" value="-P /data/local/tmp/extractor-1.5/" />
        <option name="native-test-flag" value="-P /data/local/tmp/extractorFactory-1.5/" />
    </test>
</configuration>
+1 −1
Original line number Diff line number Diff line
@@ -15,6 +15,6 @@

<dynamicConfig>
    <entry key="media_files_url">
            <value>https://dl.google.com/android-unittest/media/frameworks/av/media/libstagefright/tests/extractorFactory/extractor-1.5.zip</value>
            <value>https://dl.google.com/android-unittest/media/frameworks/av/media/libstagefright/tests/extractorFactory/extractorFactory-1.5.zip</value>
    </entry>
</dynamicConfig>
+3 −3
Original line number Diff line number Diff line
@@ -19,16 +19,16 @@ To test 32-bit binary push binaries from nativetest.

adb push ${OUT}/data/nativetest/ExtractorFactoryTest/ExtractorFactoryTest /data/local/tmp/

The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/frameworks/av/media/libstagefright/tests/extractorFactory/extractor-1.5.zip).
The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/frameworks/av/media/libstagefright/tests/extractorFactory/extractorFactory-1.5.zip).
Download, unzip and push these files into device for testing.

```
adb push extractor-1.5 /data/local/tmp/
adb push extractorFactory-1.5 /data/local/tmp/
```

usage: ExtractorFactoryTest -P \<path_to_res_folder\>
```
adb shell /data/local/tmp/ExtractorFactoryTest -P /data/local/tmp/extractor-1.5/
adb shell /data/local/tmp/ExtractorFactoryTest -P /data/local/tmp/extractorFactory-1.5/
```
Alternatively, the test can also be run using atest command.