CMake/Tests/RunCMake/color_warning.c
Zack Galbreath 2079267959 ctest_build: ignore ANSI color
Ignore ANSI color when scraping logs for errors and warnings
2019-08-22 15:53:42 -04:00

8 lines
140 B
C

#include <stdio.h>
int main(void)
{
printf(
"/tmp/hello.c:3:2: \033[35mwarning:\033[0m Hello, World! [-W#warnings]\n");
return 0;
}