mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1705444: Pipe IPDL test status to exit code r=sheehan
By returning non-zero when tests fail, `make` can pick up the failure. Differential Revision: https://phabricator.services.mozilla.com/D112789
This commit is contained in:
parent
003b3c7136
commit
50483887d0
@ -113,4 +113,7 @@ if __name__ == "__main__":
|
||||
continue
|
||||
ipdlargv.append(arg)
|
||||
|
||||
(unittest.TextTestRunner()).run(unittest.TestSuite([oksuite, errorsuite]))
|
||||
test_result = (unittest.TextTestRunner()).run(
|
||||
unittest.TestSuite([oksuite, errorsuite])
|
||||
)
|
||||
sys.exit(not test_result.wasSuccessful())
|
||||
|
Loading…
x
Reference in New Issue
Block a user