diff options
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() |