project('should fail', 'c') exe = executable('prog', 'failing.c') test('failing', exe, should_fail : true)