diff options
author | 2023-11-17 12:37:41 +0000 | |
---|---|---|
committer | 2023-11-21 17:31:07 +0000 | |
commit | b7b3de83077cebfa571b8fb61cf54b62a913e92a (patch) | |
tree | 57e0b220a02580de36a21578ff2786c9df8634d6 /testing/all_test_specs.go | |
parent | 29766f4d9826443761c3daaa17003c362739afc7 (diff) |
Add test for soong/testing/test_spec.
This CL adds test for test_spec.go and all_test_specs.go (singleton).
Bug: 296873595
Test: m nothing --no-skip-soong-tests -j96
Change-Id: I5010c68512e75d1b9a337c02da86faac15e376fe
Diffstat (limited to 'testing/all_test_specs.go')
-rw-r--r-- | testing/all_test_specs.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/all_test_specs.go b/testing/all_test_specs.go index 2ecf15fa6..9d4645b37 100644 --- a/testing/all_test_specs.go +++ b/testing/all_test_specs.go @@ -21,10 +21,10 @@ func (this *allTestSpecsSingleton) GenerateBuildActions(ctx android.SingletonCon var intermediateMetadataPaths android.Paths ctx.VisitAllModules(func(module android.Module) { - if !ctx.ModuleHasProvider(module, testSpecProviderKey) { + if !ctx.ModuleHasProvider(module, TestSpecProviderKey) { return } - intermediateMetadataPaths = append(intermediateMetadataPaths, ctx.ModuleProvider(module, testSpecProviderKey).(testSpecProviderData).IntermediatePath) + intermediateMetadataPaths = append(intermediateMetadataPaths, ctx.ModuleProvider(module, TestSpecProviderKey).(TestSpecProviderData).IntermediatePath) }) rspFile := android.PathForOutput(ctx, fileContainingFilePaths) |