Skip to content

Commit

Permalink
Fix TimeZoneTest to build properly with new-style XI assemblies.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed May 24, 2014
1 parent 8722bb5 commit 8f478d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mcs/class/corlib/Test/System/TimeZoneTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,11 @@ public void GetSystemTimeZones ()
// now it fails on Snow Leopard the same way (incomplete data) with iOS5 simulator (OS update ?)
// but it *never*ever* failed on devices
incomplete_data_on_simulator_only_bug = true;
#if XAMCORE_2_0
if (ObjCRuntime.Runtime.Arch == ObjCRuntime.Arch.SIMULATOR)
#else
if (MonoTouch.ObjCRuntime.Runtime.Arch == MonoTouch.ObjCRuntime.Arch.SIMULATOR)
#endif
Assert.Ignore ("known to fail on some iOS simulator versions - see source comments");
}
}
Expand Down

0 comments on commit 8f478d0

Please sign in to comment.