aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-02 23:48:59 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-02 23:48:59 +0000
commit82bffc761eb7efed22ed32b29440f071efafd694 (patch)
tree1e4fbc71a391af99798dfe971aa3745abc8ca677
parent2f8c22eed6b1045da54a4a96c85886ffea31b940 (diff)
parentdf62df735793b86b8cadd2d3de7ec063fcc09488 (diff)
downloadlibavc-simpleperf-release.tar.gz
Snap for 11400057 from df62df735793b86b8cadd2d3de7ec063fcc09488 to simpleperf-releasesimpleperf-release
Change-Id: I612994809a758111ec869d5bcb255204713bd03e
-rw-r--r--TEST_MAPPING5
-rw-r--r--tests/Android.bp7
-rw-r--r--tests/DynamicConfig.xml2
-rw-r--r--tests/README.md4
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.