diff --git a/.gitignore b/.gitignore index b381c47..ba95c54 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/psutil-5.4.3.tar.gz /psutil-5.4.3.tar.gz diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100755 index 0000000..ff527b6 --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e + +MODULE_PATH=`python3 -c "import psutil; print(psutil.__file__)"` +TESTDIR=`dirname $MODULE_PATH`/tests + +python3 $TESTDIR/test_unicode.py diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..670434f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - atomic + - classic + required_packages: + - python3-mock + - python3-psutil + tests: + - smoke