testing JOBE installation gives 35 passed, 1 failed

Re: testing JOBE installation gives 35 passed, 1 failed

por stefan weber -
Número de respuestas: 3
exactly what richard told me to do in his post above mine :)
En respuesta a stefan weber

Re: testing JOBE installation gives 35 passed, 1 failed

por Martin Zwerschke -
Having updated my older jobe Server to latest jobe version and to Ubuntu 17.10 I get a similar problem like described in this thread running testsubmit.py:
Python3 program with support files
Jobe result: Successful run

Output:
The first file
Line 2
Second file

=====================================

***************** FAILED TEST ******************

{'run_id': '/home/jobe/runs/jobe_N1P8lg', 'outcome': 15, 'cmpinfo': '', 'stdout': '------------------------------------\n', 'stderr': ''}
Valid Python3/pylint program
Jobe result: Successful run

Output:
------------------------------------


************************************************

=====================================
Invalid Python3/pylint program
Jobe result: Successful run


As you can see, there is no Output like the hint to a missing /etc/pylintrc
I have already checked, that this file was successfully generated.
En respuesta a Martin Zwerschke

Re: testing JOBE installation gives 35 passed, 1 failed

por Richard Lobb -

Hi Martin

Thanks for the heads up on this.

It seems that the version of pylint3 you get with Ubuntu 17.10 has a new feature called "score", which prints out the score even for a program that passes all the tests. You need to disable the score in the pylintrc file. You can do this by running the following command as root (sudo bash first), which replaces the version in README.md for newer versions of Ubuntu. 

pylint3 --reports=no --score=n --generate-rcfile > /etc/pylintrc
-- Richard
En respuesta a Richard Lobb

Re: testing JOBE installation gives 35 passed, 1 failed

por Martin Zwerschke -
Hi Richard,

this worked for me, thanks a lot.

And because I integrated a Mono-C#-Test into testsubmit.py I now have 40 of 40 tests passed.