gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] regression tests failing


From: Beat Bolli
Subject: Re: [gpsd-dev] regression tests failing
Date: Wed, 07 Jan 2015 21:02:56 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 07.01.15 19:01, Greg Troxel wrote:
> 164 failed several of the main tests.  This seems to be semi-random.
> 
> snippet from 163:
> 
> gcc -o test_json.o -c -D_GNU_SOURCE -Wmissing-prototypes -Wextra -Wall 
> -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align 
> -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes 
> -Wpointer-arith -Wreturn-type -pthread -Wmissing-declarations -g -O0 -pthread 
> test_json.c
> gcc -o test_json -pthread -Wl,-rpath=//usr/y0/lib test_json.o -L. -lrt -lgps 
> -lm
> ./test_json
> JSON unit test 'time' real attribute eval failed, value = 1119165161.890000.
> scons: *** [json-regress] Error 1
> scons: building terminated because of errors.

This test currently also fails under Linux.

This patch helps:

diff --git a/SConstruct b/SConstruct
index 10e12db..02180d9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1691,7 +1691,7 @@ Utility('unpack-makeregress', [test_libgps], [

 # Unit-test the JSON parsing
 json_regress = Utility('json-regress', [test_json], [
-    '$SRCDIR/test_json'
+    'TZ=UTC $SRCDIR/test_json'
     ])

 # consistency-check the driver methods

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]