浏览代码

[interp] Enable System.Xml tests (#11791)

* [tests] Change timezone so it doesn't fail on UTC+2 systems

Change to remote UTC-1

* [interp] Enable System.XML tests
Vlad Brezae 7 年之前
父节点
当前提交
53672c5f4c

+ 1 - 1
mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs

@@ -966,7 +966,7 @@ namespace MonoTests.System.Xml
 		public void XmlDateTimeSerializationModeUnspecified ()
 		{
 			Assert.AreEqual (27, XmlConvert.ToString (new DateTime (DateTime.MaxValue.Ticks, DateTimeKind.Utc), XmlDateTimeSerializationMode.Unspecified).Length, "#1");
-			DateTime dt1 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000+02:00", XmlDateTimeSerializationMode.Unspecified);
+			DateTime dt1 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000-01:00", XmlDateTimeSerializationMode.Unspecified);
 			DateTime dt2 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000", XmlDateTimeSerializationMode.Unspecified);
 			Assert.AreEqual (false, dt1 == dt2, "#2");
 			XmlConvert.ToDateTime ("2006-05-30T09:48:32.0Z", XmlDateTimeSerializationMode.Unspecified);

+ 1 - 1
scripts/ci/run-test-testing_aot_full_interp.sh

@@ -7,7 +7,7 @@ ${TESTCMD} --label=runtime --timeout=160m make -w -C mono/tests -k testfullaotin
 #${TESTCMD} --label=verify --timeout=15m make -w -C runtime mcs-compileall
 #${TESTCMD} --label=profiler --timeout=30m make -w -C mono/profiler -k check
 ${TESTCMD} --label=System --timeout=10m make -w -C mcs/class/System run-test
-#${TESTCMD} --label=System.XML --timeout=5m make -w -C mcs/class/System.XML run-test
+${TESTCMD} --label=System.XML --timeout=5m make -w -C mcs/class/System.XML run-test
 ${TESTCMD} --label=Mono.Security --timeout=5m make -w -C mcs/class/Mono.Security run-test
 ${TESTCMD} --label=System.Data --timeout=5m make -w -C mcs/class/System.Data run-test
 ${TESTCMD} --label=System.Web.Services --timeout=5m make -w -C mcs/class/System.Web.Services run-test