Add option to skip metrics on test failure.

By default collect the metrics on test failure.

Bug: b/136089933

Test: BaseCollectionListenerTest
Total 7 Pass

Change-Id: I42e67bd28e7b88ec791b8acb5446e33596f5daf3
2 files changed
tree: f0abd1fa1a92a8bb3e4f1ffab14305eec74018ca
  1. build/
  2. docs/
  3. emu_test/
  4. libraries/
  5. scripts/
  6. tests/
  7. utils/
  8. PREUPLOAD.cfg