Skip to content

Commit cb9521f

Browse files
committed
disable static analysis seccomp test on aarch64
The nightly toolchain in our devctr is too old to successfully compile non-PIE, statically linked aarch64 executable. I have manually verified newer nightlies to work (2024-11-16 and newer), however our nightly toolchain is dictated by kani, so we need to wait for kani to release a new version that updates past this toolchain. Therefore, temporarily disable the test on aarch64. Signed-off-by: Patrick Roy <[email protected]>
1 parent 7121895 commit cb9521f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/integration_tests/build/test_seccomp_no_redundant_rules.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import platform
66
from pathlib import Path
77

8+
import pytest
9+
810
from framework import utils
911
from framework.static_analysis import (
1012
determine_unneeded_seccomp_rules,
@@ -13,6 +15,10 @@
1315
)
1416

1517

18+
@pytest.mark.skipif(
19+
platform.machine() != "x86_64",
20+
reason="aarch64 nightly toolchain does not support flags needed to compile analyzable binary yet",
21+
)
1622
def test_redundant_seccomp_rules():
1723
"""Test that fails if static analysis determines redundant seccomp rules"""
1824
arch = platform.processor()

0 commit comments

Comments
 (0)