support/testing: add python-crossbar tests
authorYegor Yefremov <yegorslists@googlemail.com>
Sat, 10 Nov 2018 02:16:09 +0000 (00:16 -0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 13 Nov 2018 19:55:49 +0000 (20:55 +0100)
commitad361c69f6003bc1e5df5bf6a6b64fe8d9b54645
tree204ed99ab8dff2aeeda3673bf2891650c0c06121
parent6a24761c72e164e776056b891532e8d6a276e37f
support/testing: add python-crossbar tests

This test invokes "crossbar version" command, that checks all
dependencies found in setup.py files and prints some system related
information.
Add haveged to the target to generate enough entropy so crossbar ->
pynacl -> libsodium don't hang waiting for /dev/random.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Ricardo: move test script to a separate file, remove Python 2 variant,
 add haveged to target to add entropy and avoid hanging]
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
.gitlab-ci.yml
support/testing/tests/package/sample_python_crossbar.py [new file with mode: 0644]
support/testing/tests/package/test_python_crossbar.py [new file with mode: 0644]