[gardening] Restrict timeout status to MacOS.

This modifies recent commit 25262fe9.

Change-Id: I19f8bc5bcefacbf761479869f79140702c37305b
Reviewed-on: https://dart-review.googlesource.com/c/85464
Auto-Submit: Régis Crelier <regis@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
diff --git a/runtime/tests/vm/vm.status b/runtime/tests/vm/vm.status
index a140b85..804a35a 100644
--- a/runtime/tests/vm/vm.status
+++ b/runtime/tests/vm/vm.status
@@ -3,26 +3,38 @@
 # BSD-style license that can be found in the LICENSE file.
 
 cc/AllocGeneric_Overflow: Crash, Fail # These tests are expected to crash on all platforms.
-cc/ArrayNew_Overflow_Crash: Crash, Fail, Timeout # These tests are expected to crash on all platforms. May also time out (issue 35275).
-cc/CodeImmutability: Crash, Fail, Timeout # These tests are expected to crash on all platforms. May also time out (issue 35275).
+cc/ArrayNew_Overflow_Crash: Crash, Fail # These tests are expected to crash on all platforms.
+cc/CodeImmutability: Crash, Fail # These tests are expected to crash on all platforms.
 cc/Dart2JSCompileAll: Fail, Crash # Issue 27369
 cc/Dart2JSCompilerStats: Fail, Crash # Issue 27369
 cc/Fail0: Fail # These tests are expected to crash on all platforms.
 cc/Fail1: Fail # These tests are expected to crash on all platforms.
 cc/Fail2: Fail # These tests are expected to crash on all platforms.
-cc/IsolateReload_PendingConstructorCall_AbstractToConcrete: Fail, Crash, Timeout # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline). May also time out (issue 35275).
-cc/IsolateReload_PendingConstructorCall_ConcreteToAbstract: Fail, Crash, Timeout # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline). May also time out (issue 35275).
+cc/IsolateReload_PendingConstructorCall_AbstractToConcrete: Fail, Crash # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline).
+cc/IsolateReload_PendingConstructorCall_ConcreteToAbstract: Fail, Crash # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline).
 cc/IsolateReload_PendingStaticCall_DefinedToNSM: Fail # Issue 32981
-cc/IsolateReload_PendingStaticCall_NSMToDefined: Fail, Crash, Timeout # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline)
+cc/IsolateReload_PendingStaticCall_NSMToDefined: Fail, Crash # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline)
 cc/IsolateReload_PendingUnqualifiedCall_InstanceToStatic: Fail # Issue 32981
 cc/IsolateReload_PendingUnqualifiedCall_StaticToInstance: Fail # Issue 32981
 cc/IsolateReload_RunNewFieldInitializersWithGenerics: Fail # Issue 32299
-cc/SNPrint_BadArgs: Crash, Fail, Timeout # These tests are expected to crash on all platforms. May also time out (issue 35275).
+cc/SNPrint_BadArgs: Crash, Fail # These tests are expected to crash on all platforms.
 dart/data_uri_import_test/none: SkipByDesign
 dart/snapshot_version_test: Skip # This test is a Dart1 test (script snapshot)
 dart/slow_path_shared_stub_test: Pass, Slow # Uses --shared-slow-path-triggers-gc flag.
 dart/stack_overflow_shared_test: Pass, Slow # Uses --shared-slow-path-triggers-gc flag.
 
+[ $system == macos ]
+# Tests failing or crashing are sometimes reported as timeout on MacOS. See issues 35268 and 35275.
+cc/ArrayNew_Overflow_Crash: Crash, Fail, Timeout # These tests are expected to crash on all platforms
+cc/CodeImmutability: Crash, Fail, Timeout # These tests are expected to crash on all platforms
+cc/IsolateReload_PendingStaticCall_NSMToDefined: Fail, Crash, Timeout # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline)
+cc/IsolateReload_PendingConstructorCall_AbstractToConcrete: Fail, Crash, Timeout # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline)
+cc/IsolateReload_PendingConstructorCall_ConcreteToAbstract: Fail, Crash, Timeout # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline)
+cc/IsolateReload_PendingConstructorCall_AbstractToConcrete: Fail, Crash, Timeout # Issue 32981. Fails on non-Windows, crashes on Windows (because of test.py special handline)
+
+[ $system == macos && ($compiler == dartk || $compiler == dartkb) && $runtime == vm ]
+cc/Class_ComputeEndTokenPos: Crash, Timeout # May also time out on MacOS (issues 35268 and 35275).
+
 [ $mode == debug ]
 dart/appjit_cha_deopt_test: Pass, Slow # Quite slow in debug mode, uses --optimization-counter-threshold=100
 
@@ -147,7 +159,7 @@
 cc/Service_TokenStream: Fail
 
 [ ($compiler == dartk || $compiler == dartkb) && $runtime == vm ]
-cc/Class_ComputeEndTokenPos: Crash, Timeout # May also time out (issue 35275).
+cc/Class_ComputeEndTokenPos: Crash
 cc/DartAPI_LoadLibrary: Fail, Crash # Issue 33048.
 cc/DebuggerAPI_BreakpointStubPatching: Fail
 cc/DebuggerAPI_GetClosureInfo: Fail