Merge "aconfig: include all tests in TEST_MAPPING" into main

This commit is contained in:
Treehugger Robot
2023-12-12 14:07:43 +00:00
committed by Gerrit Code Review
3 changed files with 37 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ rust_test_host {
rustlibs: [
"libitertools",
],
test_suites: ["general-tests"],
}
// integration tests: general
@@ -125,7 +126,7 @@ android_test {
"androidx.test.rules",
"testng",
],
test_suites: ["device-tests"],
test_suites: ["general-tests"],
}
java_aconfig_library {
@@ -172,6 +173,7 @@ cc_test {
shared_libs: [
"server_configurable_flags",
],
test_suites: ["general-tests"],
}
cc_test {
@@ -186,6 +188,7 @@ cc_test {
shared_libs: [
"server_configurable_flags",
],
test_suites: ["general-tests"],
}
rust_aconfig_library {
@@ -202,6 +205,7 @@ rust_test {
rustlibs: [
"libaconfig_test_rust_library",
],
test_suites: ["general-tests"],
}
rust_aconfig_library {
@@ -219,4 +223,5 @@ rust_test {
rustlibs: [
"libaconfig_test_rust_library_with_test_mode",
],
test_suites: ["general-tests"],
}

View File

@@ -17,5 +17,35 @@
// that using the flag macros to do filtering will get affected.
"name": "FlagMacrosTests"
}
],
"postsubmit": [
{
// aconfig unit tests
"name": "aconfig.test"
},
{
// aconfig Java integration tests
"name": "aconfig.test.java"
},
{
// aconfig C++ integration tests (production mode auto-generated code)
"name": "aconfig.test.cpp"
},
{
// aconfig C++ integration tests (test mode auto-generated code)
"name": "aconfig.test.cpp.test_mode"
},
{
// aconfig C++ integration tests (production mode auto-generated code)
"name": "aconfig.prod_mode.test.rust"
},
{
// aconfig C++ integration tests (test mode auto-generated code)
"name": "aconfig.test_mode.test.rust"
},
{
// printflags unit tests
"name": "printflags.test"
}
]
}

View File

@@ -24,4 +24,5 @@ rust_binary {
rust_test_host {
name: "printflags.test",
defaults: ["printflags.defaults"],
test_suites: ["general-tests"],
}