Mercurial > vim
changeset 36412:b9f05e24acdb draft
CI: huge linux builds should also run syntax & indent tests
Commit: https://github.com/vim/vim/commit/203c7225f52fbb4a58e544dafbc4ac96b71085b3
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Oct 29 20:21:42 2024 +0100
CI: huge linux builds should also run syntax & indent tests
closes: https://github.com/vim/vim/issues/15960
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 29 Oct 2024 20:30:04 +0100 |
parents | 1fe62e0a63e5 |
children | dcbc057ad5bb |
files | .github/workflows/ci.yml runtime/indent/Makefile runtime/syntax/testdir/runtest.vim |
diffstat | 3 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -171,7 +171,7 @@ jobs: normal) ;; huge) - echo "TEST=scripttests test_libvterm" + echo "TEST=scripttests test_libvterm indenttest syntaxtest" INTERFACE=${{ matrix.interface || 'yes' }} if ${{ matrix.python3 == 'stable-abi' }}; then PYTHON3_CONFOPT="--with-python3-stable-abi=3.8" @@ -268,7 +268,7 @@ jobs: - name: Test timeout-minutes: 25 run: | - do_test() { sg audio "sg $(id -gn) '$*'"; } + do_test() { echo "$*"; sg audio "sg $(id -gn) '$*'"; } do_test make ${SHADOWOPT} ${TEST} - if: ${{ !cancelled() }}
--- a/runtime/indent/Makefile +++ b/runtime/indent/Makefile @@ -11,6 +11,7 @@ VIMRUNTIME = .. # If a test fails a testdir/*.fail file will be written. test: VIMRUNTIME=$(VIMRUNTIME) $(VIMPROG) --clean --not-a-term -u testdir/runtest.vim + @echo "INDENT TESTS: DONE" clean testclean:
--- a/runtime/syntax/testdir/runtest.vim +++ b/runtime/syntax/testdir/runtest.vim @@ -431,7 +431,7 @@ func RunTest() call Message('View generated screendumps with "../../src/vim --clean -S testdir/viewdumps.vim"') endif - call AppendMessages('== SUMMARY ==') + call AppendMessages('== SUMMARY SYNTAX TESTS ==') if len(failed_tests) > 0 " have make report an error