summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2017-12-05 09:26:15 -0800
committer Colin Cross <ccross@android.com> 2017-12-06 03:55:08 +0000
commit9cf27db425bd693ab17603bef740f2411363c3df (patch)
tree15153f04bdd56c07f6869a24185cdd15c781d9cc /java/java.go
parent809d3f8f63d32677fce73a90632ef96c9505ec95 (diff)
Make TestModule.Output print a list of all outputs on error
Debugging when writing tests using TestModule.Outputs is unnecessarily hard, it panics when an incorrect output path is given but doesn't provide any help to figure out why. Follow the pattern used by TestContext.ModuleForTests and print the list of valid output paths on failure. Test: m checkbuild Change-Id: I50e8e2dfc2070bd538d47cf6495a489f727b1564
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions