aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2013-08-03 09:44:18 -0700
committerGlenn Morris2013-08-03 09:44:18 -0700
commit5e471f0dbc0f9b42646a3689552723902b990f76 (patch)
treed7544dbbdb95cba5d2c6158c25507460a97fcb48 /test
parent8cd4636c03e3e5532cde2794458efcf95ea8bbf1 (diff)
downloademacs-5e471f0dbc0f9b42646a3689552723902b990f76.tar.gz
emacs-5e471f0dbc0f9b42646a3689552723902b990f76.zip
* test/automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import): Add debug messages.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog2
-rw-r--r--test/automated/icalendar-tests.el4
2 files changed, 5 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index ae66b25897e..7407f1fe725 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -4,7 +4,7 @@
4 4
5 * automated/icalendar-tests.el (icalendar-tests--test-export) 5 * automated/icalendar-tests.el (icalendar-tests--test-export)
6 (icalendar-tests--test-import): 6 (icalendar-tests--test-import):
7 Use getenv/setenv rather than set-time-zone-rule. 7 Use getenv/setenv rather than set-time-zone-rule. Add debug messages.
8 (icalendar-tests--test-import): Reset zone even if error occurred. 8 (icalendar-tests--test-import): Reset zone even if error occurred.
9 9
102013-08-02 Stefan Monnier <monnier@iro.umontreal.ca> 102013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/test/automated/icalendar-tests.el b/test/automated/icalendar-tests.el
index 87c474b1a3f..85442b20198 100644
--- a/test/automated/icalendar-tests.el
+++ b/test/automated/icalendar-tests.el
@@ -433,7 +433,9 @@ and ISO style input data must use english month names."
433 (icalendar-recurring-start-year 2000)) 433 (icalendar-recurring-start-year 2000))
434 (unwind-protect 434 (unwind-protect
435 (progn 435 (progn
436 (message "Current time zone: %s" (current-time-zone))
436 (setenv "TZ" "CET") 437 (setenv "TZ" "CET")
438 (message "Current time zone: %s" (current-time-zone))
437 (when input-iso 439 (when input-iso
438 (let ((calendar-month-name-array 440 (let ((calendar-month-name-array
439 ["January" "February" "March" "April" "May" "June" "July" "August" 441 ["January" "February" "March" "April" "May" "June" "July" "August"
@@ -674,7 +676,9 @@ Argument EXPECTED-AMERICAN expected american style diary string."
674 (let ((timezone (getenv "TZ"))) 676 (let ((timezone (getenv "TZ")))
675 (unwind-protect 677 (unwind-protect
676 (progn 678 (progn
679 (message "Current time zone: %s" (current-time-zone))
677 (setenv "TZ" "CET") 680 (setenv "TZ" "CET")
681 (message "Current time zone: %s" (current-time-zone))
678 (with-temp-buffer 682 (with-temp-buffer
679 (if (string-match "^BEGIN:VCALENDAR" input) 683 (if (string-match "^BEGIN:VCALENDAR" input)
680 (insert input) 684 (insert input)