← Back to team overview

kicad-developers team mailing list archive

Re: Test failures

 

Hi Simon,

I’ve pushed changed which I hope will fix the spacing problem (but I never got the test environment working on my Mac so I’m not 100% sure).

Cheers,
Jeff.


> On 10 Nov 2019, at 09:28, Simon Richter <Simon.Richter@xxxxxxxxxx> wrote:
> 
> Hi,
> 
> we seem to have picked up two test failure reports[1]:
> 
> [Info] - check KI_TEST::SexprIsListOfLength( (SEXPR::SEXPR&) s_list, 5 ) has passed
> == [File] - /var/lib/jenkins-agent/workspace/linux-kicad-head/src/qa/libs/sexpr/test_sexpr.cpp
> == [Line] - 101
> == [Context] Sexpr string conversion mismatch: got '(symbol 
>  (2 42.42 "substring") 1 3.14 "string")', expected '(symbol 
>    (2 42.42 "substring") 1 3.14 "string")'
> 
> [Info] - check KI_TEST::SexprConvertsToString( *sexp, c.m_input ) has passed
> == [File] - /var/lib/jenkins-agent/workspace/linux-kicad-head/src/qa/libs/sexpr/test_sexpr_parser.cpp
> == [Line] - 235
> [Info] - check KI_TEST::SexprConvertsToString( *sexp, c.m_input ) has passed
> == [File] - /var/lib/jenkins-agent/workspace/linux-kicad-head/src/qa/libs/sexpr/test_sexpr_parser.cpp
> == [Line] - 235
> == [Context] empty list
> == [Context] simple list
> == [Context] nested list
> == [Context] Sexpr string conversion mismatch: got '(42 
>  (1 2))', expected '(42 
>    (1 2))'
> 
> These aren't in the build log[2]:
> 
> Running tests...
> /usr/bin/ctest --force-new-ctest-process 
> Test project /var/lib/jenkins-agent/workspace/linux-kicad-head/build
>    Start 1: qa_python
> 1/8 Test #1: qa_python ........................   Passed    0.47 sec
>    Start 2: common_eeschema
> 2/8 Test #2: common_eeschema ..................   Passed    0.16 sec
>    Start 3: common_pcbnew
> 3/8 Test #3: common_pcbnew ....................   Passed    0.17 sec
>    Start 4: qa_common_gerbview
> 4/8 Test #4: qa_common_gerbview ...............   Passed    0.16 sec
>    Start 5: pcbnew
> 5/8 Test #5: pcbnew ...........................   Passed    0.15 sec
>    Start 6: eeschema
> 6/8 Test #6: eeschema .........................   Passed    0.15 sec
>    Start 7: sexpr
> 7/8 Test #7: sexpr ............................   Passed    0.02 sec
>    Start 8: kicad2step
> 8/8 Test #8: kicad2step .......................   Passed    0.02 sec
> 
> It seems the difference is in the number of indentations, so this is a
> minor issue, but I'm confused about errors in the report file and a clean
> log file, that is probably a bigger problem.
> 
>   Simon
> 
> [1] https://jenkins.simonrichter.eu/job/linux-kicad-head/3781/testReport/
> [2] https://jenkins.simonrichter.eu/job/linux-kicad-head/3781/console
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References