diff --git a/plan.fmf b/plan.fmf index e6427de..9f76e68 100644 --- a/plan.fmf +++ b/plan.fmf @@ -1,4 +1,13 @@ discover: how: fmf +prepare: + - name: install git-core + how: install + package: [git-core] + - name: clone pyproject tests + how: shell + script: | + git clone https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git --depth=1 && + cd pyproject-rpm-macros && mv tests $TMT_PLAN_DATA execute: how: tmt diff --git a/tests/integration/main.fmf b/tests/integration/main.fmf new file mode 100644 index 0000000..1f94ad1 --- /dev/null +++ b/tests/integration/main.fmf @@ -0,0 +1,5 @@ +require: +- 'https://kojipkgs.fedoraproject.org/packages/epel-release/10/1.el10_0/noarch/epel-release-10-1.el10_0.noarch.rpm' +- rpm-build +- rpmdevtools +- mock diff --git a/tests/integration/python-userpath.fmf b/tests/integration/python-userpath.fmf new file mode 100644 index 0000000..307ece3 --- /dev/null +++ b/tests/integration/python-userpath.fmf @@ -0,0 +1,3 @@ +test: | + cd $TMT_PLAN_DATA/tests && + TEST_ARTIFACTS=${TMT_TEST_DATA} ./mocktest.sh python-userpath diff --git a/tests/integration/python-virtualenv.fmf b/tests/integration/python-virtualenv.fmf new file mode 100644 index 0000000..f90dcfe --- /dev/null +++ b/tests/integration/python-virtualenv.fmf @@ -0,0 +1,3 @@ +test: | + cd $TMT_PLAN_DATA/tests && + TEST_ARTIFACTS=${TMT_TEST_DATA} ./mocktest.sh python-virtualenv