mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-30 21:54:16 +08:00
ci: only execute capture-devcoredump.sh when it's present
Avoids this error: ./install/common/init-stage2.sh: line 130: /capture-devcoredump.sh: No such file or directory One step closer to an error-free CI and being able to `set -e`. Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22992>
This commit is contained in:
parent
aedbc35857
commit
348818fc6c
@ -127,8 +127,10 @@ fi
|
||||
|
||||
# Start a little daemon to capture the first devcoredump we encounter. (They
|
||||
# expire after 5 minutes, so we poll for them).
|
||||
/capture-devcoredump.sh &
|
||||
BACKGROUND_PIDS="$! $BACKGROUND_PIDS"
|
||||
if [ -x /capture-devcoredump.sh ]; then
|
||||
/capture-devcoredump.sh &
|
||||
BACKGROUND_PIDS="$! $BACKGROUND_PIDS"
|
||||
fi
|
||||
|
||||
# If we want Xorg to be running for the test, then we start it up before the
|
||||
# HWCI_TEST_SCRIPT because we need to use xinit to start X (otherwise
|
||||
|
Loading…
Reference in New Issue
Block a user