Skip to content

Commit

Permalink
fix a few more failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Jul 11, 2023
1 parent dca6eba commit 83b370a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/testdir/test_functions.vim
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,11 @@ func Test_strftime()
" are, a tzset(3) call may have failed somewhere
call assert_equal(strlen(est), 2)
call assert_equal(strlen(utc), 2)
" TODO: this fails on MS-Windows
if has('unix')
" TODO: this fails on MS-Windows and Qemu Archs
if has('unix') &&
\ !CheckArch('riscv64', v:false) &&
\ !CheckArch('s390x', v:false) &&
\ !CheckArch('aarch64', v:false)
call assert_notequal(est, utc)
endif

Expand Down
1 change: 1 addition & 0 deletions src/testdir/test_man.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
" Test specifically for the Man filetype plugin.
source check.vim

runtime ftplugin/man.vim

Expand Down
1 change: 1 addition & 0 deletions src/testdir/test_stat.vim
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ endfunc

func Test_autoread_fast()
CheckFeature nanotime
CheckArch s390x

" this is timing sensitive
let g:test_is_flaky = 1
Expand Down

0 comments on commit 83b370a

Please sign in to comment.