diff --git a/.gitignore b/.gitignore index f54ab6c..bdda66e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ -SOURCES/python-schedutils-0.6.tar.xz +python-schedutils-0.2.tar.bz2 +/python-schedutils-0.4.tar.bz2 +/python-schedutils-0.4.tar.xz +/python-schedutils-0.5.tar.xz /python-schedutils-0.6.tar.xz diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100644 index 0000000..7332d5c --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,14 @@ +#!/usr/bin/bash + +# make sure we have rteval installed +if rpm -q --quiet python3-schedutils; then + : +else + sudo dnf install -y python3-schedutils + if [[ $? != 0 ]]; then + echo "install of python3-schedutils failed!" + exit 1 + fi +fi + +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..e9de496 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,14 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - pchrt: + dir: . + run: pchrt --help + - ptaskset: + dir: . + run: ptaskset --help + required_packages: + - python3-schedutils