mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
testdir/runnvim.sh: create messages file always (#11503)
This commit is contained in:
@@ -82,6 +82,11 @@ main() {(
|
|||||||
fi
|
fi
|
||||||
if test "$FAILED" = 1 ; then
|
if test "$FAILED" = 1 ; then
|
||||||
echo "Test $test_name failed, see output above and summary for more details" >> test.log
|
echo "Test $test_name failed, see output above and summary for more details" >> test.log
|
||||||
|
# When Neovim crashed/aborted it might not have created messages.
|
||||||
|
# test.log itself is used as an indicator to exit non-zero in the Makefile.
|
||||||
|
if ! test -f message; then
|
||||||
|
cp -a test.log messages
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user