]> code.delx.au - gnu-emacs/commitdiff
Expect 2 icalendar tests to fail on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sun, 21 Jun 2015 15:10:49 +0000 (18:10 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 21 Jun 2015 15:10:49 +0000 (18:10 +0300)
* test/automated/icalendar-tests.el (icalendar-import-with-timezone)
(icalendar-real-world): Make them expected failures on MS-Windows.

test/automated/icalendar-tests.el

index 68d0a400137e06b1224106cb7918bdee744b9b4c..3614c7adc76d97b69edf487e2c3daa08b5226518 100644 (file)
@@ -1318,6 +1318,11 @@ DTEND;VALUE=DATE-TIME:20030919T113000"
    "&9/19/2003 09:00-11:30 non-recurring\n UID: 1234567890uid\n"))
 
 (ert-deftest icalendar-import-with-timezone ()
+  ;; This is known to fail on MS-Windows, because the test assumes
+  ;; Posix features of specifying DST rules.
+  :expected-result (if (memq system-type '(windows-nt ms-dos))
+                       :failed
+                     :passed)
   ;; bug#11473
   (icalendar-tests--test-import
    "BEGIN:VCALENDAR
@@ -1446,6 +1451,11 @@ SUMMARY:and diary-anniversary
 ;; ======================================================================
 (ert-deftest icalendar-real-world ()
   "Perform real-world tests, as gathered from problem reports."
+  ;; This is known to fail on MS-Windows, since it doesn't support DST
+  ;; specification with month and day.
+  :expected-result (if (memq system-type '(windows-nt ms-dos))
+                       :failed
+                     :passed)
   ;; 2003-05-29
   (icalendar-tests--test-import
    "BEGIN:VCALENDAR