Skip to content

Commit

Permalink
debug: Check hang up
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Jul 28, 2020
1 parent 2d0a0e9 commit 360bd7b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
58 changes: 32 additions & 26 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

strategy:
matrix:
toolchain: [msvc, mingw]
arch: [x64, x86]
toolchain: [msvc] #[msvc, mingw]
arch: [x64] #[x64, x86]
features: [HUGE]
include:
- arch: x64
Expand All @@ -42,22 +42,22 @@ jobs:
msystem: MINGW64
cygreg: registry
pyreg: ""
- arch: x86
vcarch: x86
warch: ia32
bits: 32
msystem: MINGW32
cygreg: registry32
pyreg: "-32"
- toolchain: mingw
arch: x64
features: NORMAL
vcarch: amd64
warch: x64
bits: 64
msystem: MINGW64
cygreg: registry
pyreg: ""
#- arch: x86
# vcarch: x86
# warch: ia32
# bits: 32
# msystem: MINGW32
# cygreg: registry32
# pyreg: "-32"
#- toolchain: mingw
# arch: x64
# features: NORMAL
# vcarch: amd64
# warch: x64
# bits: 64
# msystem: MINGW64
# cygreg: registry
# pyreg: ""

steps:
- name: Initalize
Expand Down Expand Up @@ -152,13 +152,19 @@ jobs:
.\vim --version || exit 1
cd testdir
echo %COL_GREEN%Test gvim:%COL_RESET%
nmake -nologo -f Make_dos.mak VIMPROG=..\gvim || exit 1
rem nmake -nologo -f Make_dos.mak VIMPROG=..\gvim || exit 1
nmake -nologo -f Make_dos.mak clean
echo %COL_GREEN%Test vim:%COL_RESET%
if "${{ matrix.toolchain }}-${{ matrix.arch }}"=="msvc-x64" (
rem This test may hang up unless it is executed in a separate console.
start /wait /abovenormal nmake -nologo -f Make_dos.mak VIMPROG=..\vim
nmake -nologo -f Make_dos.mak report || exit 1
) else (
nmake -nologo -f Make_dos.mak VIMPROG=..\vim || exit 1
)
nmake -nologo -f Make_dos.mak VIMPROG=..\vim test_autocmd.res TEST_FILTER=Test_bufunload_all || exit 1
nmake -nologo -f Make_dos.mak report || exit 1
nmake -nologo -f Make_dos.mak VIMPROG=..\vim test_autocmd.res TEST_FILTER=Test_CursorHold_autocmd -A || exit 1
nmake -nologo -f Make_dos.mak report || exit 1
rem nmake -nologo -f Make_dos.mak VIMPROG=..\vim test_autocmd.res TEST_FILTER=Test_autocmd_bufwipe_in_SessLoadPost -A || exit 1
rem nmake -nologo -f Make_dos.mak report || exit 1
rem if "${{ matrix.toolchain }}-${{ matrix.arch }}"=="msvc-x64" (
rem rem This test may hang up unless it is executed in a separate console.
rem start /wait /abovenormal nmake -nologo -f Make_dos.mak VIMPROG=..\vim
rem nmake -nologo -f Make_dos.mak report || exit 1
rem ) else (
rem nmake -nologo -f Make_dos.mak VIMPROG=..\vim || exit 1
rem )
1 change: 1 addition & 0 deletions src/testdir/test_autocmd.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,7 @@ func Test_bufunload_all()
call delete('Xtest')
call delete('Xout')
endfunc
finish

" Some tests for buffer-local autocommands
func Test_buflocal_autocmd()
Expand Down

0 comments on commit 360bd7b

Please sign in to comment.