mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
ci: disable tracing (set -x) from the shell scripts
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# Args:
|
# Args:
|
||||||
# $1: Flag(s) for codecov, separated by comma.
|
# $1: Flag(s) for codecov, separated by comma.
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
|
|
||||||
# Change to grandparent dir (POSIXly).
|
# Change to grandparent dir (POSIXly).
|
||||||
CDPATH='' cd -P -- "$(dirname -- "$0")/../.." || exit
|
CDPATH='' cd -P -- "$(dirname -- "$0")/../.." || exit
|
||||||
|
@@ -29,17 +29,14 @@ ci_fold() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enter_suite() {
|
enter_suite() {
|
||||||
set +x
|
|
||||||
FAILED=0
|
FAILED=0
|
||||||
rm -f "${END_MARKER}"
|
rm -f "${END_MARKER}"
|
||||||
local suite_name="$1"
|
local suite_name="$1"
|
||||||
export NVIM_TEST_CURRENT_SUITE="${NVIM_TEST_CURRENT_SUITE}/$suite_name"
|
export NVIM_TEST_CURRENT_SUITE="${NVIM_TEST_CURRENT_SUITE}/$suite_name"
|
||||||
ci_fold "start" "$suite_name"
|
ci_fold "start" "$suite_name"
|
||||||
set -x
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exit_suite() {
|
exit_suite() {
|
||||||
set +x
|
|
||||||
if test $FAILED -ne 0 ; then
|
if test $FAILED -ne 0 ; then
|
||||||
echo "Suite ${NVIM_TEST_CURRENT_SUITE} failed, summary:"
|
echo "Suite ${NVIM_TEST_CURRENT_SUITE} failed, summary:"
|
||||||
echo "${FAIL_SUMMARY}"
|
echo "${FAIL_SUMMARY}"
|
||||||
|
@@ -119,7 +119,6 @@ run_oldtests() {(
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
check_runtime_files() {(
|
check_runtime_files() {(
|
||||||
set +x
|
|
||||||
local test_name="$1" ; shift
|
local test_name="$1" ; shift
|
||||||
local message="$1" ; shift
|
local message="$1" ; shift
|
||||||
local tst="$1" ; shift
|
local tst="$1" ; shift
|
||||||
|
Reference in New Issue
Block a user