Support per-testcase directories in all test suites
There are cases where two modules try to install the same test data into CTS, which results in collisions when CTS puts the data for all tests in the same directory. Add a flag that allows enabling a per-testcase directory for an individual test for all test suites. Bug: 193168159 Test: cts-tradefed run commandAndExit CtsBionicTestCases Change-Id: If034723e8fe937ca71d3e2d39b7d46702e41bc8c
This commit is contained in:
@@ -749,6 +749,9 @@ type testProperties struct {
|
||||
|
||||
// Names of modules containing JNI libraries that should be installed alongside the test.
|
||||
Jni_libs []string
|
||||
|
||||
// Install the test into a folder named for the module in all test suites.
|
||||
Per_testcase_directory *bool
|
||||
}
|
||||
|
||||
type hostTestProperties struct {
|
||||
@@ -760,6 +763,9 @@ type testHelperLibraryProperties struct {
|
||||
// list of compatibility suites (for example "cts", "vts") that the module should be
|
||||
// installed into.
|
||||
Test_suites []string `android:"arch_variant"`
|
||||
|
||||
// Install the test into a folder named for the module in all test suites.
|
||||
Per_testcase_directory *bool
|
||||
}
|
||||
|
||||
type prebuiltTestProperties struct {
|
||||
|
Reference in New Issue
Block a user