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
This commit is contained in:
Harish Mahendrakar 2024-01-30 04:36:51 +00:00 committed by Harish Mahendrakar
parent f0214b163b
commit 5ff80617fa
2 changed files with 9 additions and 3 deletions

5
TEST_MAPPING Normal file
View file

@ -0,0 +1,5 @@
{
"postsubmit": [
{ "name": "AvcEncTest" }
]
}

View file

@ -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: [