diff options
author | Harish Mahendrakar <hmahendrakar@google.com> | 2024-01-30 04:36:51 +0000 |
---|---|---|
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2024-01-30 15:45:17 -0800 |
commit | 5ff80617fa99c7d61b4e058f0c65431bec55cd7d (patch) | |
tree | 29bb09eb7111642668999320be0b3674e0d1801e | |
parent | f0214b163b8ba105fa54ebe947ec36fbaeb621ee (diff) | |
download | libavc-5ff80617fa99c7d61b4e058f0c65431bec55cd7d.tar.gz |
Enable unit tests in postsubmit
After some time of running these in postsubmit, these will be changed
to presubmit.
- Added AvcEncTest to device-tests test suite
- Also run bpfmt on test/Android.bp
Bug: 304383609
Test: atest AvcEncTest
Change-Id: Ic18b25d8ed27313b6e3a984259af1215ae240c9e
-rw-r--r-- | TEST_MAPPING | 5 | ||||
-rw-r--r-- | tests/Android.bp | 7 |
2 files changed, 9 insertions, 3 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: [ |