summaryrefslogtreecommitdiff
path: root/rust/coverage_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2021-12-01 12:16:55 -0800
committer Colin Cross <ccross@android.com> 2022-05-17 13:27:22 -0700
commit7134e289a6f2da89bc6fc47e833bb600733a264d (patch)
tree333e98fcaf5c0988a0faff21e9a4e1679056d85a /rust/coverage_test.go
parent61df14acce0c642f18730eefff5ebd20ee1463dc (diff)
Deterministically report path errors to all callers of dexpreopt.GetGlobalConfig
dexpreopt.GetGlobalConfig uses a OncePer to only parse the config once. If the config contains missing paths, which can happen in partial manifest branches, the missing path errors will only be reported on the first caller to GetGlobalConfig. Fix the nondeterminism by wrapping the PathContext and capturing any path errors and reporting them to all callers to GetGlobalConfig. Bug: 207813628 Test: tradefed branch builds Change-Id: I869c3ae49a819b1251b94b73e0487aa594cd5e22
Diffstat (limited to 'rust/coverage_test.go')
0 files changed, 0 insertions, 0 deletions