tests: handle compilation errors when nitc succeed but gcc failed