mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
tests: enable build tests on Fedora 41
Tests that interact with the kernel are skipped (tests/regression and tests/snapd) but everything else is green. Most of the tests are actually passing. The only exception is the aa-notify test that was broken by Python 3.13 stdlib change. The fix for that has been posted separately. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
This commit is contained in:
parent
85d57b7f06
commit
7ce6819c53
2 changed files with 35 additions and 0 deletions
|
@ -68,3 +68,29 @@ packages:
|
||||||
- python311-devel
|
- python311-devel
|
||||||
- swig
|
- swig
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define FEDORA_CLOUD_INIT_USER_DATA_TEMPLATE
|
||||||
|
$(CLOUD_INIT_USER_DATA_TEMPLATE)
|
||||||
|
packages:
|
||||||
|
- attr
|
||||||
|
- autoconf
|
||||||
|
- autoconf-archive
|
||||||
|
- automake
|
||||||
|
- bison
|
||||||
|
- dbus-devel
|
||||||
|
- dejagnu
|
||||||
|
- dosfstools
|
||||||
|
- flex
|
||||||
|
- gettext
|
||||||
|
- libstdc++-static
|
||||||
|
- libtool
|
||||||
|
- liburing-devel
|
||||||
|
- perl
|
||||||
|
- pkg-config
|
||||||
|
- python3-devel
|
||||||
|
- python3-flake8
|
||||||
|
- python3-gobject-base
|
||||||
|
- python3-notify2
|
||||||
|
- python3-tkinter
|
||||||
|
- swig
|
||||||
|
endef
|
||||||
|
|
|
@ -72,6 +72,9 @@ backends:
|
||||||
username: ubuntu
|
username: ubuntu
|
||||||
password: ubuntu
|
password: ubuntu
|
||||||
workers: 4
|
workers: 4
|
||||||
|
- fedora-cloud-41:
|
||||||
|
username: fedora
|
||||||
|
password: fedora
|
||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- .git
|
- .git
|
||||||
|
@ -142,6 +145,9 @@ suites:
|
||||||
summary: Unit tests that do not exercise the kernel layer.
|
summary: Unit tests that do not exercise the kernel layer.
|
||||||
tests/regression/:
|
tests/regression/:
|
||||||
summary: Regression tests for parser-kernel interaction.
|
summary: Regression tests for parser-kernel interaction.
|
||||||
|
systems:
|
||||||
|
# AppArmor is not enabled in the kernel.
|
||||||
|
- -fedora-cloud-*
|
||||||
prepare: |
|
prepare: |
|
||||||
# Spread does not support programmatically generated test variants.
|
# Spread does not support programmatically generated test variants.
|
||||||
# Ensure that the list baked into tests/regression/apparmor/task.yaml
|
# Ensure that the list baked into tests/regression/apparmor/task.yaml
|
||||||
|
@ -169,3 +175,6 @@ suites:
|
||||||
rm -f apparmor-regression-tests.txt
|
rm -f apparmor-regression-tests.txt
|
||||||
tests/snapd/:
|
tests/snapd/:
|
||||||
summary: Tests exercising a subset of behavior of snapd
|
summary: Tests exercising a subset of behavior of snapd
|
||||||
|
systems:
|
||||||
|
# AppArmor is not enabled in the kernel.
|
||||||
|
- -fedora-cloud-*
|
||||||
|
|
Loading…
Add table
Reference in a new issue