Skip to content
Snippets Groups Projects
Commit 787328b5 authored by Ronald Braunstein's avatar Ronald Braunstein
Browse files

Use import for test-mapping rather than requesting files remain in sync

If there were intervening parent directories with extra TEST_MAPPING
files, then "imports" might pick up extra modules, but in this case that
won't happen.
This change will ensure these two TEST_MAPPING file remain in sync.

Test: atest -p frameworks/base/tools/hoststubgen:ravenwood-presubmit --dry-run
	Finding Tests...
	Found 'RavenwoodBivalentTest' as MODULE
	Found 'RavenwoodMockitoTest' as MODULE
	Found 'RavenwoodMinimumTest' as MODULE
	Found 'RavenwoodCoreTest' as MODULE
	Found 'CtsUtilTestCasesRavenwood' as MODULE
Change-Id: I89d308e1596fa689aeb3c2e476c7707c0ff4dd8f
parent b92aff67
No related branches found
No related tags found
No related merge requests found
// Keep the following two TEST_MAPPINGs in sync:
// frameworks/base/ravenwood/TEST_MAPPING
// frameworks/base/tools/hoststubgen/TEST_MAPPING
{
"presubmit": [
{ "name": "tiny-framework-dump-test" },
{ "name": "hoststubgentest" },
{ "name": "hoststubgen-invoke-test" },
"imports": [
{
"name": "RavenwoodMockitoTest_device"
},
{
"name": "RavenwoodBivalentTest_device"
},
// The sysui tests should match vendor/unbundled_google/packages/SystemUIGoogle/TEST_MAPPING
{
"name": "SystemUIGoogleTests",
"options": [
{
"exclude-annotation": "org.junit.Ignore"
},
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
}
]
}
],
"presubmit-large": [
{
"name": "SystemUITests",
"options": [
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
}
]
}
],
"ravenwood-presubmit": [
{
"name": "RavenwoodMinimumTest",
"host": true
},
{
"name": "RavenwoodMockitoTest",
"host": true
},
{
"name": "CtsUtilTestCasesRavenwood",
"host": true
},
{
"name": "RavenwoodCoreTest",
"host": true
},
{
"name": "RavenwoodBivalentTest",
"host": true
"path": "frameworks/base/ravenwood"
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment