Merge SingletonProviderContext with OtherModuleProviderContext
Bug: 358425833 Test: CI Change-Id: I8e3f40dc3cfc5337008b419801f8e6bf2d48e8b2
This commit is contained in:
@@ -32,7 +32,7 @@ func TestTestSpec(t *testing.T) {
|
||||
module := result.ModuleForTests("module-name", "")
|
||||
|
||||
// Check that the provider has the right contents
|
||||
data, _ := android.SingletonModuleProvider(result, module.Module(), soongTesting.TestSpecProviderKey)
|
||||
data, _ := android.OtherModuleProvider(result, module.Module(), soongTesting.TestSpecProviderKey)
|
||||
if !strings.HasSuffix(
|
||||
data.IntermediatePath.String(), "/intermediateTestSpecMetadata.pb",
|
||||
) {
|
||||
|
Reference in New Issue
Block a user