Wireshark-dev: Re: [Wireshark-dev] Custom debian builds fails on test suite
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Mon, 21 May 2018 10:06:06 -0700
On 5/21/18 1:27 AM, Anders Broman wrote:
> Hi,
> 
> Trying to do a Debian build it fails with: (Should we even run the test
> suite here ?)

You should be able to skip tests by setting DEB_BUILD_OPTIONS=nocheck.

> test --> verify-results-type-add_pfield-time-local-1-260-1...passed
> 
> test --> verify-results-value-add_pfield-time-local-1-261-1...passed
> 
> add_pfield-time-local got:     
> 
>                              results[2][2]='10'                       
> 
>                              matches[2][2]='10'
> 
> test --> verify-results-type-add_pfield-time-local-2-262-1...passed
> 
> test --> verify-results-value-add_pfield-time-local-2-263-1...passed

It looks like this is failing in lua/tvb.lua...

>   File "/home/ericsson/ewireshark/trunk/test/subprocesstest.py", line 187,
> in run
> 
>     sys.stdout.write(line)
> 
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u2192' in
> position 31: ordinal not in range(128)

...unfortunately the test runner is failing instead of printing something useful. A fix is inbound.

I'm not sure why tvb.lua is failing. What does `locale` print on your system?