mirror of https://gitee.com/openkylin/qemu.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 <luoyonggang@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210107101919.80-2-luoyonggang@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
84f4ef17ae
commit
dc83539872
|
@ -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 "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 && ../configure --python=python3"
|
||||||
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8"
|
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8"
|
||||||
|
- exit $LastExitCode
|
||||||
test_script:
|
test_script:
|
||||||
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check"
|
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check"
|
||||||
|
- exit $LastExitCode
|
||||||
|
|
Loading…
Reference in New Issue