Avoid marking module done in XML if it fails

Regardless of module done logic merging, if one of the
module shard has failed, report it not done.

Test: unit tests
Bug: 122024437
Bug: 112870293
Change-Id: I89b9f010ef28d92e34b0f12e20a347371d9a05e1
5 files changed
tree: f07ad2aa1073dd796080effd67d753498bfb7fff
  1. build/
  2. common/
  3. tools/
  4. OWNERS
  5. PREUPLOAD.cfg
  6. test_defs.sh