Skip to content
Snippets Groups Projects
Commit a47280e2 authored by Mick Jordan's avatar Mick Jordan
Browse files

gate: check result from expected outfile compare

parent 84d27a5e
No related branches found
No related tags found
No related merge requests found
...@@ -115,11 +115,13 @@ def _fastr_gate_body(args, tasks): ...@@ -115,11 +115,13 @@ def _fastr_gate_body(args, tasks):
# check that the expected test output file is up to date # check that the expected test output file is up to date
t = mx.GateTask('UnitTests: ExpectedTestOutput file check') t = mx.GateTask('UnitTests: ExpectedTestOutput file check')
junit(['--tests', _simple_unit_tests(), '--check-expected-output']) rc1 = junit(['--tests', _all_unit_tests(), '--check-expected-output'])
if rc1 != 0:
mx.abort('unit tests expected output check failed')
tasks.append(t.stop()) tasks.append(t.stop())
t = mx.GateTask('UnitTests: simple') t = mx.GateTask('UnitTests: simple')
rc = junit(['--tests', _simple_unit_tests()]) rc2 = junit(['--tests', _simple_unit_tests()])
if rc != 0: if rc2 != 0:
mx.abort('unit tests failed') mx.abort('unit tests failed')
tasks.append(t.stop()) tasks.append(t.stop())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment