diff options
| -rw-r--r-- | tradefed/autogen.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tradefed/autogen.go b/tradefed/autogen.go index e23079591..8dd738174 100644 --- a/tradefed/autogen.go +++ b/tradefed/autogen.go @@ -190,7 +190,10 @@ func AutoGenTestConfig(ctx android.ModuleContext, options AutoGenTestConfigOptio return autogenPath } if len(options.OptionsForAutogenerated) > 0 { - ctx.ModuleErrorf("Extra tradefed configurations were provided for an autogenerated xml file, but the autogenerated xml file was not used.") + ctx.ModuleErrorf("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) } return path } |