[gnome-logs] Force the test timezone to UTC



commit c7a7c4765aaef6978b363cf84c9bb87f06bb52c7
Author: David King <davidk gnome org>
Date:   Mon Mar 23 22:40:06 2015 +0100

    Force the test timezone to UTC
    
    As gl_util_timestamp_to_display() uses the local timezone for timestamp
    formatting, and the test sample data is in UTC, force the test timezone
    to also be UTC.

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index aaf7117..be1ce8d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -117,6 +117,7 @@ check_SCRIPTS = \
 # Tests:
 TESTS_ENVIRONMENT = \
        LANG=C \
+       TZ=UTC \
        MALLOC_CHECK_=2 \
        MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) \
        G_SLICE=debug-blocks


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]