diff options
author | Max <msuraev@sysmocom.de> | 2017-12-15 11:56:05 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-12-18 10:11:39 +0100 |
commit | c35bb473e449ec8b0d6e6ab64196331e89efef95 (patch) | |
tree | dc3a01779cac3ca615e9e4672c08ccf3284867b7 /tests | |
parent | 7f7c4b441027ff64bddafe2a378e0d1a72f8b285 (diff) |
Expand CI tests
* make sure jenkins.sh fails on any errors similar to other jenkins jobs
* always explicitly use python2 instead of generic python
* add basic module import tests for python 2 and 3
* add comments
Change-Id: I0f4639537d227c513859d4552533ce1e41df9deb
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_py2.py | 7 | ||||
-rw-r--r-- | tests/test_py3.py | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_py2.py b/tests/test_py2.py new file mode 100644 index 0000000..cac5261 --- /dev/null +++ b/tests/test_py2.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python2 + +# just import a smoke test for osmopy + +import osmopy + +print '[Python2] Smoke test PASSED.' diff --git a/tests/test_py3.py b/tests/test_py3.py new file mode 100644 index 0000000..cac2f93 --- /dev/null +++ b/tests/test_py3.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 + +# just import a smoke test for osmopy + +import osmopy + +print('[Python3] Smoke test PASSED.') |