summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarish Mahendrakar <hmahendrakar@google.com>2024-01-30 04:28:57 +0000
committerHarish Mahendrakar <hmahendrakar@google.com>2024-01-30 05:02:11 +0000
commitfa6cb50218c3f96bbad822d8de3488592c4de4a1 (patch)
tree830e36bcfefaa0de819287ee1f428a5459dcfba1
parent1478f9b3a699c9b795ed0248f166d92fe92c8e4f (diff)
downloadsonivox-fa6cb50218c3f96bbad822d8de3488592c4de4a1.tar.gz
Enable unit tests in postsubmit
After some time of running these in postsubmit, these will be changed to presubmit. - Added SonivoxTest to device-tests test suite - Also run bpfmt on test/Android.bp. Bug: 304383609 Test: atest SonivoxTest Change-Id: I44877607193e14531f1d87928fb7487ccaec3fdd
-rw-r--r--TEST_MAPPING5
-rw-r--r--test/Android.bp3
2 files changed, 7 insertions, 1 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..2dfb19b
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,5 @@
+{
+ "postsubmit": [
+ { "name": "SonivoxTest" }
+ ]
+}
diff --git a/test/Android.bp b/test/Android.bp
index 4ce7e85..b54674a 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -26,8 +26,9 @@ package {
cc_test {
name: "SonivoxTest",
gtest: true,
+ test_suites: ["device-tests"],
- srcs: [ "SonivoxTest.cpp" ],
+ srcs: ["SonivoxTest.cpp"],
static_libs: [
"libsonivox",