From 8d48699ba440d10fb2f7f32a2e4dee7aab2a82c0 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 13:13:49 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 5 ++++- tests/scripts/run_tests.sh | 14 ++++++++++++++ tests/tests.yml | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 tests/scripts/run_tests.sh create mode 100644 tests/tests.yml 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