4dbf58a187
Add a new CLI binary that we can use as the officially recommended CLI for reading and writing flags. For now, the CLI invokes commands to interact with DeviceConfig and aconfig protos, but we will switch it to interact with the forthcoming mmap-file-based aconfig storage. In the meantime, we can add improved formatting and error reporting in a separate layer. This CL starts with the list command, which outputs a table of the flags when you type `adb shell aflags list`. Bug: 324436145 Test: atest aflags.test Change-Id: Idd8aa78ccaace22a7e490014d410ad741f8f6fc6
84 lines
2.3 KiB
Text
84 lines
2.3 KiB
Text
{
|
|
"presubmit": [
|
|
{
|
|
// aconfig unit tests
|
|
"name": "aconfig.test"
|
|
},
|
|
{
|
|
// aconfig Java integration tests (host)
|
|
"name": "AconfigJavaHostTest"
|
|
},
|
|
{
|
|
// 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 (exported mode auto-generated code)
|
|
"name": "aconfig.test.cpp.exported_mode"
|
|
},
|
|
{
|
|
// aconfig Rust integration tests (production mode auto-generated code)
|
|
"name": "aconfig.prod_mode.test.rust"
|
|
},
|
|
{
|
|
// aconfig Rust integration tests (test mode auto-generated code)
|
|
"name": "aconfig.test_mode.test.rust"
|
|
},
|
|
{
|
|
// aconfig Rust integration tests (exported mode auto-generated code)
|
|
"name": "aconfig.exported_mode.test.rust"
|
|
},
|
|
{
|
|
// printflags unit tests
|
|
"name": "printflags.test"
|
|
},
|
|
{
|
|
// aconfig_protos unit tests
|
|
"name": "aconfig_protos.test"
|
|
},
|
|
{
|
|
// aconfig_storage_file unit tests
|
|
"name": "aconfig_storage_file.test"
|
|
},
|
|
{
|
|
// Ensure changes on aconfig auto generated library is compatible with
|
|
// test testing filtering logic. Breakage on this test means all tests
|
|
// that using the flag annotations to do filtering will get affected.
|
|
"name": "FlagAnnotationTests",
|
|
"options": [
|
|
{
|
|
"include-filter": "android.cts.flags.tests.FlagAnnotationTest"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
// Ensure changes on aconfig auto generated library is compatible with
|
|
// test testing filtering logic. Breakage on this test means all tests
|
|
// that using the flag macros to do filtering will get affected.
|
|
"name": "FlagMacrosTests"
|
|
}
|
|
],
|
|
"postsubmit": [
|
|
{
|
|
// aconfig_storage read api rust integration tests
|
|
"name": "aconfig_storage.test.rust"
|
|
},
|
|
{
|
|
// aconfig_storage read api cpp integration tests
|
|
"name": "aconfig_storage.test.cpp"
|
|
},
|
|
{
|
|
// aflags CLI unit tests
|
|
// TODO(b/326062088): add to presubmit once proven in postsubmit.
|
|
"name": "aflags.test"
|
|
}
|
|
]
|
|
}
|