Files
lix/tests/functional2/cli/test_compute_levels.py
T
eldritch horrors 378c86eadf testing: migrate compute-levels.sh
this test wasn't even run

Change-Id: I735c8b2d2c63a65c665d6344a98ddb3bbbf94f43
2026-02-27 17:42:17 +00:00

12 lines
319 B
Python

import os
import sys
import pytest
from testlib.fixtures.nix import Nix
@pytest.mark.skipif(
sys.platform != "linux" or os.uname().machine != "x86_64", reason="uarch levels are x86_64 only"
)
def test_compute_levels(nix: Nix):
assert "x86_64-v1-linux" in nix.nix(["-vv", "--version"]).run().ok().stdout_plain