mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Travis: Change search pattern for core dumps.
Would otherwise find files in .deps if dependencies are built.
This commit is contained in:
parent
ddaa481236
commit
463c20ebb0
@ -28,11 +28,21 @@ check_logs() {
|
|||||||
|
|
||||||
check_core_dumps() {
|
check_core_dumps() {
|
||||||
sleep 2
|
sleep 2
|
||||||
local c
|
|
||||||
for c in $(find ./ -name '*core*' -print); do
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||||
gdb -q -n -batch -ex bt build/bin/nvim $c
|
cores=/cores/*
|
||||||
exit 1
|
else
|
||||||
|
# TODO(fwalch): Will trigger if a file named core.* exists outside of .deps.
|
||||||
|
cores="$(find ./ -not -path '*.deps*' -name 'core.*' -print)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$cores" ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
for c in $cores; do
|
||||||
|
gdb -q -n -batch -ex bt build/bin/nvim $c
|
||||||
done
|
done
|
||||||
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_deps() {
|
setup_deps() {
|
||||||
|
Loading…
Reference in New Issue
Block a user