mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci: remove function run_test
This commit is contained in:
parent
2f3fb53dbd
commit
2c5382aafa
@ -65,12 +65,6 @@ fail() {
|
|||||||
FAILED=1
|
FAILED=1
|
||||||
}
|
}
|
||||||
|
|
||||||
run_test() {
|
|
||||||
local cmd="$1"
|
|
||||||
local test_name="$2"
|
|
||||||
eval "$cmd" || fail "$test_name"
|
|
||||||
}
|
|
||||||
|
|
||||||
ended_successfully() {
|
ended_successfully() {
|
||||||
if test -f "${FAIL_SUMMARY_FILE}" ; then
|
if test -f "${FAIL_SUMMARY_FILE}" ; then
|
||||||
echo 'Test failed, complete summary:'
|
echo 'Test failed, complete summary:'
|
||||||
@ -94,7 +88,7 @@ run_suite() {
|
|||||||
local suite_name="$2"
|
local suite_name="$2"
|
||||||
|
|
||||||
enter_suite "$suite_name"
|
enter_suite "$suite_name"
|
||||||
run_test "$command" "$suite_name"
|
eval "$command" || fail "$suite_name"
|
||||||
exit_suite
|
exit_suite
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user