scripts/unit-test: Only export coverage data for coverage checking

Running binaries built with b_coverage=true will always output coverage
data so it can be collected later. We don't want our memcheck and
sanitizer code to run over these code paths. Only enable them for the
final coverage run.

Change-Id: I192089623f2b01ba17beea6ba14bc433a13a6497
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed