Implement test config auto-gen for sh_test.
Supports the following properties: - Require_root - Test_config_template - Auto_gen_config Test config template is in a separate CL. Bug: 148805488 Bug: 151761373 Test: make Test: unit tests Test: verified with bc_test & toybox-tests Change-Id: I63d60a153a6abda4ce30b74d3eb915fbf6389cb8
This commit is contained in:
@@ -33,6 +33,7 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
|
||||
ctx.Strict("PYTHON_BINARY_HOST_TEST_CONFIG_TEMPLATE", "${PythonBinaryHostTestConfigTemplate}")
|
||||
ctx.Strict("RUST_DEVICE_TEST_CONFIG_TEMPLATE", "${RustDeviceTestConfigTemplate}")
|
||||
ctx.Strict("RUST_HOST_TEST_CONFIG_TEMPLATE", "${RustHostTestConfigTemplate}")
|
||||
ctx.Strict("SHELL_TEST_CONFIG_TEMPLATE", "${ShellTestConfigTemplate}")
|
||||
|
||||
ctx.Strict("EMPTY_TEST_CONFIG", "${EmptyTestConfig}")
|
||||
}
|
||||
|
Reference in New Issue
Block a user