summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-02-11 13:32:30 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-11 13:32:30 -0800
commit4b92926bd8c3171d0e0c9a15bf7e15cb2c03c0f8 (patch)
tree4c8bf8ad295e5d2d0574239d075ca3639d256be2
parent9f54afcb895fb9eea61fb4c461c66775dafee750 (diff)
parent2e0c94355638859bf3b705df7bbf4b39ef3408d8 (diff)
Merge "Clarify that an AndroidTest.xml file needs to be deleted for autogen warning to be meaningful" into main
-rw-r--r--tradefed/autogen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tradefed/autogen.go b/tradefed/autogen.go
index 4ea8a0bd0..89c69bd23 100644
--- a/tradefed/autogen.go
+++ b/tradefed/autogen.go
@@ -197,10 +197,10 @@ func AutoGenTestConfig(ctx android.ModuleContext, options AutoGenTestConfigOptio
return autogenPath
}
if len(options.OptionsForAutogenerated) > 0 {
- ctx.ModuleErrorf("Extra tradefed configurations (%v) were provided for an autogenerated xml file, but the autogenerated xml file was not used.", options.OptionsForAutogenerated)
+ ctx.ModuleErrorf("You likely need to delete your soong modules local AndroidTest.xml file. Extra tradefed configurations (%v) were provided for an autogenerated xml file, but the autogenerated xml file was not used.", options.OptionsForAutogenerated)
}
if len(options.TestRunnerOptions) > 0 {
- ctx.ModuleErrorf("Extra test runner options (%v) were provided for an autogenerated xml file, but the autogenerated xml file was not used.", options.TestRunnerOptions)
+ ctx.ModuleErrorf("You likely need to delete your soong modules local AndroidTest.xml file. Extra test runner options (%v) were provided for an autogenerated xml file, but the autogenerated xml file was not used.", options.TestRunnerOptions)
}
return path
}