diff mbox series

[v4,1/5] cirrus/msys2: Exit powershell with $LastExitCode

Message ID 20210107101919.80-2-luoyonggang@gmail.com (mailing list archive)
State New, archived
Headers show
Series Misc meson fixes along test-vmstate fixes | expand

Commit Message

罗勇刚(Yonggang Luo) Jan. 7, 2021, 10:19 a.m. UTC
Currently if we don't exit with $LastExitCode manually,
the cirrus would not report the build/testing failure.

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
---
 .cirrus.yml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Philippe Mathieu-Daudé Jan. 7, 2021, 11:16 a.m. UTC | #1
On 1/7/21 11:19 AM, Yonggang Luo wrote:
> Currently if we don't exit with $LastExitCode manually,
> the cirrus would not report the build/testing failure.
> 
> Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>

Please keep tag from reviewers when sending new versions.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---
>  .cirrus.yml | 2 ++
>  1 file changed, 2 insertions(+)
diff mbox series

Patch

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