Browse Source

Tools: don't make report test failure on coverage

c415-sdk
Pierre Kancir 4 years ago committed by Peter Barker
parent
commit
458b6084fa
  1. 3
      Tools/autotest/autotest.py

3
Tools/autotest/autotest.py

@ -1131,6 +1131,9 @@ if __name__ == "__main__": @@ -1131,6 +1131,9 @@ if __name__ == "__main__":
try:
if not run_tests(steps_to_run):
if os.environ.get("COVERAGE", False):
# Don't report failure on coverage test
sys.exit(0)
sys.exit(1)
except KeyboardInterrupt:
print("KeyboardInterrupt caught; closing pexpect connections")

Loading…
Cancel
Save