mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci: Make $cmd failure fail the build without -o pipefail
This commit is contained in:
parent
fc16d02c3d
commit
4ccef05829
@ -97,11 +97,13 @@ run_test_wd() {
|
|||||||
cmd="$cmd" \
|
cmd="$cmd" \
|
||||||
sh -c '
|
sh -c '
|
||||||
ps -o sid= > "$sid_file"
|
ps -o sid= > "$sid_file"
|
||||||
|
(
|
||||||
ret=0
|
ret=0
|
||||||
if ! eval "$cmd" 2>&1 | tee -a "$output_file" ; then
|
if ! eval "$cmd" 2>&1 ; then
|
||||||
ret=1
|
ret=1
|
||||||
fi
|
fi
|
||||||
echo "$ret" > "$status_file"
|
echo "$ret" > "$status_file"
|
||||||
|
) | tee -a "$output_file"
|
||||||
'
|
'
|
||||||
while test "$(stat -c "%s" "$status_file")" -eq 0 ; do
|
while test "$(stat -c "%s" "$status_file")" -eq 0 ; do
|
||||||
prev_tmpsize=$tmpsize
|
prev_tmpsize=$tmpsize
|
||||||
|
Loading…
Reference in New Issue
Block a user