kunit.py : Exit with exit code of 1 when all tests do not pass.

Prow Presubmit determines success of presubmit job based on exit code of
script. Reporting to gerrit currently indicates a success for
failures if bad exit code is not explicitly returned.

Alternatively, this could be handled in the test script but would
depend on the output format of kunit.py and need to be adjusted

Change-Id: I9ef2e3ed61ff6e2bca4dcddf99380dbe0275e9dd
Signed-off-by: Avi Kondareddy <avikr@google.com>
1 file changed