Skip to content

Commit

Permalink
[appcol] Skip application collection containers on non aarch64 & x86_64
Browse files Browse the repository at this point in the history
In #675 we added a new appcol python 3.11
container that uses the same test marker as the bci python 3.11 container. This
makes it impossible to filter only one of these containers which now causes
problems in QA on ppc64le and s390x because the application collection
containers are not available on those architectures. This is a quick hotfix,
that makes the QA jobs pass again, we must still fix the markers.
  • Loading branch information
dcermak committed Dec 12, 2024
1 parent 926b9b5 commit aeade45
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bci_tester/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,15 @@ def create_BCI(
for m in extra_marks:
marks.append(m)

if bci_type in (ImageType.SAC_APPLICATION, ImageType.SAC_LANGUAGE_STACK):
marks.append(
pytest.mark.skipif(
condition=LOCALHOST.system_info.arch
not in ("x86_64", "aarch64"),
reason="Application collection containers are only available for x86_64 and aarch64",
)
)

# Ironbank currently has only the "bci-base" image and nothing else, so
# skip all other tests
if TARGET == "dso" and (
Expand Down

0 comments on commit aeade45

Please sign in to comment.