From 11c2f447e6054b489b851a98051254b2d461b0a4 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Mon, 18 Feb 2019 14:25:52 +0100 Subject: [PATCH] [tests] Don't run BitcodeNotSupported tests on watchOS. Ref: https://github.com/mono/mono/pull/13007 --- tests/templates/WatchExtension/InterfaceController.cs | 2 +- tests/templates/WatchExtension/InterfaceController.fs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/templates/WatchExtension/InterfaceController.cs b/tests/templates/WatchExtension/InterfaceController.cs index fef9d2440971..c6d1daaeacf9 100644 --- a/tests/templates/WatchExtension/InterfaceController.cs +++ b/tests/templates/WatchExtension/InterfaceController.cs @@ -71,7 +71,7 @@ public override void Awake (NSObject context) void LoadTests () { runner = new WatchOSRunner (); - var categoryFilter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter,RequiresBSDSockets").Filter); + var categoryFilter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter,RequiresBSDSockets,BitcodeNotSupported").Filter); if (!string.IsNullOrEmpty (Environment.GetEnvironmentVariable ("NUNIT_FILTER_START"))) { var firstChar = Environment.GetEnvironmentVariable ("NUNIT_FILTER_START") [0]; var lastChar = Environment.GetEnvironmentVariable ("NUNIT_FILTER_END") [0]; diff --git a/tests/templates/WatchExtension/InterfaceController.fs b/tests/templates/WatchExtension/InterfaceController.fs index 663d2a204401..97a7dfc480a8 100644 --- a/tests/templates/WatchExtension/InterfaceController.fs +++ b/tests/templates/WatchExtension/InterfaceController.fs @@ -35,7 +35,7 @@ type InterfaceController (handle: IntPtr) = member this.LoadTests () = runner <- new WatchOSRunner () - let ce = new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter") + let ce = new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter,BitcodeNotSupported") runner.Filter <- new NotFilter (ce.Filter) let tp = this.GetType () runner.Add (tp.Assembly)