From 94bed309fc350fd9ce448f3590c8d54d91d4849a Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 31 Jul 2019 02:25:04 +0300 Subject: [PATCH] AppVeyor CI: Print .gc.log on gctest failure for mingw-shared-no-make --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 1e430c3..e9d54dc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -90,7 +90,7 @@ test_script: "cd /c/projects/bdwgc && make -j -f Makefile.direct check CC=gcc CFLAGS_EXTRA='-DGC_NOT_DLL %CFLAGS_EXTRA%'" ) - cmd: if [%TARGET%]==[mingw-shared-no-make] ( C:\MinGW\msys\1.0\bin\bash -e -l -c - "cd /c/projects/bdwgc && gcc -I include -D GC_BUILTIN_ATOMIC -D GC_DLL %CFLAGS_EXTRA% -o gctest.exe tests/test.c gc.dll && gctest.exe && cat gctest.gc.log" ) + "cd /c/projects/bdwgc && gcc -I include -D GC_BUILTIN_ATOMIC -D GC_DLL %CFLAGS_EXTRA% -o gctest.exe tests/test.c gc.dll && (gctest.exe && cat gctest.gc.log || (cat gctest.gc.log && exit 1))" ) - cmd: if [%TARGET%]==[mingw-w64] ( C:\msys64\usr\bin\bash -e -l -c "cd /c/projects/bdwgc && make -j -f Makefile.direct check CC=gcc CFLAGS_EXTRA='%CFLAGS_EXTRA%'" ) -- 2.7.4