From 807617b50c0a1e771ee44da187352b1516a8cd41 Mon Sep 17 00:00:00 2001 From: Geunsik Lim Date: Wed, 27 Mar 2019 18:32:29 +0900 Subject: [PATCH] lcov: Changed the default time zone from UTC to KST Fixed the issue #1193 and #1275 finally. https://github.com/nnsuite/nnstreamer/issues/1193#issuecomment-469635177 https://github.com/nnsuite/nnstreamer/issues/1275 This commit is to replace UTC with KST by default in order to display the date format with Seoul time. The 'lcov' generates the date format with UTC time zone by default. So, let's replace UTC with KST. Signed-off-by: Geunsik Lim --- packaging/nnstreamer.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/nnstreamer.spec b/packaging/nnstreamer.spec index 4879971..3e06e4a 100644 --- a/packaging/nnstreamer.spec +++ b/packaging/nnstreamer.spec @@ -206,7 +206,9 @@ DESTDIR=%{buildroot} ninja -C build %{?_smp_mflags} install %else %define testtarget %endif - + # 'lcov' generates the date format with UTC time zone by default. Let's replace UTC with KST. + # If you ccan get a root privilege, run ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime + TZ='Asia/Seoul'; export TZ $(pwd)/tests/unittestcoverage.py module $(pwd)/gst $(pwd)/ext %testtarget # Get commit info -- 2.7.4