Skip to content

Commit

Permalink
Enable unit tests in postsubmit
Browse files Browse the repository at this point in the history
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
  • Loading branch information
harishdm committed Jan 30, 2024
1 parent f0214b1 commit 13e90e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions TEST_MAPPING
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"postsubmit": [
{ "name": "AvcEncTest" }
]
}
7 changes: 4 additions & 3 deletions tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 13e90e3

Please sign in to comment.