diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-23 21:26:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-23 21:26:39 +0100 |
commit | 0056ca71374feadf6bad27f5b66eaa18b6f7dad7 (patch) | |
tree | 19657856285144b7f8d37e32ed877ac47fc0c3ae /src/testdir/check.vim | |
parent | a9b0f8f7f35ddd281f4fa464d163dc4fb05e1d7b (diff) |
patch 9.0.0564: a few tests keep failing on MacOS M1v9.0.0564
Problem: A few tests keep failing on MacOS M1.
Solution: Add a test check CheckNotMacM1. Fix timer tests.
Diffstat (limited to 'src/testdir/check.vim')
-rw-r--r-- | src/testdir/check.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/check.vim b/src/testdir/check.vim index c4dca0b784..c3f2563898 100644 --- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -111,6 +111,14 @@ func CheckNotBSD() endif endfunc +" Command to check for not running on a MacOS M1 system. +command CheckNotMacM1 call CheckNotMacM1() +func CheckNotMacM1() + if has('mac') && system('uname -a') =~ '\<arm64\>' + throw 'Skipped: does not work on MacOS M1' + endif +endfunc + " Command to check that making screendumps is supported. " Caller must source screendump.vim command CheckScreendump call CheckScreendump() |