capture C compiler output in test runner and discard it when expecting C compiler failures