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