Skip to content

Commit

Permalink
Full pip install expected to fail on Rawhide
Browse files Browse the repository at this point in the history
Because of aio-libs/aiohttp/issues/7229 the full pip install test
is expected to fail on `rawhide` until the issue is fixed. Move
test code from the plan to a real test to enable the adjust rule.
  • Loading branch information
psss committed Aug 8, 2023
1 parent b8f81a5 commit b32a190
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 22 deletions.
26 changes: 4 additions & 22 deletions plans/install/pip.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,11 @@ execute:
/mini:
summary+: " (mini)"
discover:
tests:
- name: /install
test: /tmp/venv/bin/pip install .
require:
- gcc
- python3
- python3-devel
- name: /help
test: /tmp/venv/bin/tmt --help
how: fmf
test: /tests/pip/install/mini

/full:
summary+: " (full)"
discover:
tests:
- name: /install
test: /tmp/venv/bin/pip install .[all]
require:
- gcc
- python3
- python3-devel
- libvirt-devel
- krb5-devel
- libpq-devel
- redhat-rpm-config
- name: /help
test: /tmp/venv/bin/tmt run --help
how: fmf
test: /tests/pip/install/full
28 changes: 28 additions & 0 deletions tests/pip/install.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
path: "/"
framework: shell
require:
- gcc
- python3
- python3-devel
tier: null

/mini:
summary: Ensure the minimal pip install works
test: |
/tmp/venv/bin/pip install .
/tmp/venv/bin/tmt --help

/full:
summary: Ensure the full pip install works
require+:
- libvirt-devel
- krb5-devel
- libpq-devel
- redhat-rpm-config
test: |
/tmp/venv/bin/pip install .[all]
/tmp/venv/bin/tmt --help
adjust:
result: xfail
when: distro == fedora-rawhide
because: https://github.com/aio-libs/aiohttp/issues/7229

0 comments on commit b32a190

Please sign in to comment.