summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-08-29 12:32:57 +0000
committerChristian Breunig <christian@breunig.cc>2026-08-29 12:32:57 +0000
commitcf018cdd38eb30830c55d54591238b85516e5c1a (patch)
tree82eb9c57524ad00f7d21d6a2e025f074417e3aed /src/migration-scripts
parent90b7de7e084f86450d5ac42b005901972f362999 (diff)
downloadvyos-1x-cf018cdd38eb30830c55d54591238b85516e5c1a.tar.gz
vyos-1x-cf018cdd38eb30830c55d54591238b85516e5c1a.zip
smoketest: T9014: add CPU architecture decorator to guard tests
VyOS supports both amd64 and arm64 CPU architectures, but not every smoketest is applicable to both of them. Add a cpu_arch() decorator to vyos.utils.cpu which takes a list of supported CPU architectures - if the test is run on any other architecture it is skipped with a message naming both the supported and the current architecture. Tests without the decorator run everywhere. Use it to replace the ad-hoc IS_ARM64 checks in test_kernel_options.py and to guard the x86 only intel and intel_qat module sets in test_module_load.py, which so far failed on arm64.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions