From: Yonggang Luo Date: Thu, 7 Jan 2021 10:19:15 +0000 (-0800) Subject: cirrus/msys2: Exit powershell with $LastExitCode X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;ds=sidebyside;h=dc835398724ddfcb0b647388de30341613c992ca;p=qmiga%2Fqemu.git cirrus/msys2: Exit powershell with $LastExitCode Currently if we don't exit with $LastExitCode manually, the cirrus would not report the build/testing failure. Signed-off-by: Yonggang Luo Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210107101919.80-2-luoyonggang@gmail.com> Signed-off-by: Paolo Bonzini --- diff --git a/.cirrus.yml b/.cirrus.yml index 3907e036da..68b8a8fa9c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -137,5 +137,7 @@ windows_msys2_task: - C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build" - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure --python=python3" - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8" + - exit $LastExitCode test_script: - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check" + - exit $LastExitCode