Set exit code to 1 for failed MicroPython test runs

This commit is contained in:
Miguel Grinberg
2023-03-21 00:28:23 +00:00
parent daf1001ec5
commit a350e8fd1e

View File

@@ -6,4 +6,5 @@ sys.path.insert(3, 'libs/micropython')
import unittest
unittest.main('tests')
if not unittest.main('tests').wasSuccessful():
sys.exit(1)