diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-01-31 00:05:03 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-01-31 00:05:03 +0000 |
commit | 31699f355fec150bba4479fd4fd1c6aeea36654c (patch) | |
tree | 1e4fbc71a391af99798dfe971aa3745abc8ca677 | |
parent | 46be963c97fe69e78d2a360107ad39a0c9db9e6d (diff) | |
parent | df62df735793b86b8cadd2d3de7ec063fcc09488 (diff) | |
download | libavc-31699f355fec150bba4479fd4fd1c6aeea36654c.tar.gz |
Snap for 11380902 from df62df735793b86b8cadd2d3de7ec063fcc09488 to sdk-release
Change-Id: Id198ba22de6bcee39180239e4eff516fcd942727
-rw-r--r-- | TEST_MAPPING | 5 | ||||
-rw-r--r-- | tests/Android.bp | 7 | ||||
-rw-r--r-- | tests/DynamicConfig.xml | 2 | ||||
-rw-r--r-- | tests/README.md | 4 |
4 files changed, 12 insertions, 6 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING new file mode 100644 index 0000000..d690c4e --- /dev/null +++ b/TEST_MAPPING @@ -0,0 +1,5 @@ +{ + "postsubmit": [ + { "name": "AvcEncTest" } + ] +} diff --git a/tests/Android.bp b/tests/Android.bp index 656d3b7..89bb1e7 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -26,16 +26,17 @@ package { cc_test { name: "AvcEncTest", gtest: true, + test_suites: ["device-tests"], - srcs : [ "AvcEncTest.cpp" ], + srcs: ["AvcEncTest.cpp"], shared_libs: [ "libutils", - "liblog" + "liblog", ], static_libs: [ - "libavcenc" + "libavcenc", ], cflags: [ diff --git a/tests/DynamicConfig.xml b/tests/DynamicConfig.xml index 4d721cf..d67e15d 100644 --- a/tests/DynamicConfig.xml +++ b/tests/DynamicConfig.xml @@ -15,6 +15,6 @@ <dynamicConfig> <entry key="media_files_url"> - <value>https://storage.googleapis.com/android_media/external/libavc/tests/AvcTestRes-1.0.zip</value> + <value>https://dl.google.com/android-unittest/media/external/libavc/tests/AvcTestRes-1.0.zip</value> </entry> </dynamicConfig> diff --git a/tests/README.md b/tests/README.md index 7832d5a..b6d1d63 100644 --- a/tests/README.md +++ b/tests/README.md @@ -35,7 +35,7 @@ Optionally, enable sanitizers by passing -DSANITIZE $ make ``` -The media files for the tests are present [at](https://storage.googleapis.com/android_media/external/libavc/tests/AvcTestRes-1.0.zip). +The media files for the tests are present [at](https://dl.google.com/android-unittest/media/external/libavc/tests/AvcTestRes-1.0.zip). Download and extract these the current folder. usage: AvcEncTest -P \<path_to_the local folder\> @@ -61,7 +61,7 @@ To test 32-bit binary push binaries from nativetest. adb push ${OUT}/data/nativetest/AvcEncTest/AvcEncTest /data/local/tmp/ ``` -The resource file for the tests is taken from [here](https://storage.googleapis.com/android_media/external/libavc/tests/AvcTestRes-1.0.zip) +The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/external/libavc/tests/AvcTestRes-1.0.zip) Download, unzip and push these files into device for testing. |