From 6121388a1f5c6e55b4ae8040029d988b529766ba Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 14:29:06 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 1 - tests/smoke/runtest.sh | 8 ++++++++ tests/tests.yml | 12 ++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 tests/smoke/runtest.sh create mode 100644 tests/tests.yml 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