From 0056ca71374feadf6bad27f5b66eaa18b6f7dad7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 23 Sep 2022 21:26:39 +0100 Subject: patch 9.0.0564: a few tests keep failing on MacOS M1 Problem: A few tests keep failing on MacOS M1. Solution: Add a test check CheckNotMacM1. Fix timer tests. --- src/testdir/check.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/testdir/check.vim') 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') =~ '\' + 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() -- cgit v1.2.3