| 1 |
project('test features', 'c') |
| 2 |
|
| 3 |
tester = executable('tester', 'tester.c') |
| 4 |
test_with_status = executable('test-with-status', 'tester_with_status.c') |
| 5 |
test('nonzero return code no tests', tester, args : [], protocol: 'tap') |
| 6 |
test('nonzero return code with tests', test_with_status, protocol: 'tap') |
| 7 |
test('missing test', tester, args : ['1..1'], protocol: 'tap') |
| 8 |
test('incorrect skip', tester, args : ['1..1 # skip\nok 1'], protocol: 'tap') |
| 9 |
test('partially skipped', tester, args : ['not ok 1\nok 2 # skip'], protocol: 'tap') |
| 10 |
test('premature bailout', tester, args : ['Bail out!'], protocol: 'tap') |