ci: simplify ci_fold function (#16874)

This commit is contained in:
dundargoc
2022-01-03 17:47:11 +01:00
committed by GitHub
parent 6ed9ddec29
commit be255557ce
2 changed files with 8 additions and 24 deletions

View File

@@ -66,7 +66,7 @@ main() {(
fi
fi
if test "$FAILED" = 1 ; then
ci_fold start "$NVIM_TEST_CURRENT_SUITE/$test_name"
ci_fold start "$test_name"
fi
valgrind_check .
if test -n "$LOG_DIR" ; then
@@ -78,7 +78,7 @@ main() {(
fi
rm -f "$tlog"
if test "$FAILED" = 1 ; then
ci_fold end "$NVIM_TEST_CURRENT_SUITE/$test_name"
ci_fold end ""
fi
if test "$FAILED" = 1 ; then
echo "Test $test_name failed, see output above and summary for more details" >> test.log