From b60a08db1e9adf0715784144cec4f208574a7d44 Mon Sep 17 00:00:00 2001 From: David Yu Date: Fri, 16 Feb 2024 16:03:28 +0000 Subject: Change final logging message to track error codes. Currently the sys img UI tests are designed to return conditions at the end of the test, which will only return success if all tests passes. Return an error code to track based on call graddle subprocess. BUGS: b/322001347 Change-Id: I1e2e23bd91c2ade7a3fc72b2579b9139f2a6ba62 --- emu_test/dotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emu_test/dotest.py b/emu_test/dotest.py index ef237817..022b3a11 100755 --- a/emu_test/dotest.py +++ b/emu_test/dotest.py @@ -491,5 +491,5 @@ if __name__ == '__main__': logging.info("adb server killed") except CalledProcessError: logging.exception("Error shutting down adb") - logging.info("Test complete") + logging.info("Test complete with exit code {int(not emuResult.wasSuccessful())}") sys.exit(not emuResult.wasSuccessful()) -- cgit v1.2.3