Skip to content

Commit

Permalink
testdir/runnvim.sh: create messages file always (#11503)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Dec 2, 2019
1 parent 0b7a7b2 commit 56be9fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/nvim/testdir/runnvim.sh
Expand Up @@ -82,6 +82,11 @@ main() {(
fi
if test "$FAILED" = 1 ; then
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
)}

Expand Down

0 comments on commit 56be9fb

Please sign in to comment.