← Back to issue list

tests: make the kernel unit tests architecture independent.

View original Github issue

Metadata

Project
snapcraft
Number
#1178
Type
pull request
State
merged
Author
come-maiz
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1178 in commit b2a31b957, making kernel unit tests mock architecture so they behave consistently on ARM.

Resolution: closed resolved

Reason: PR #1178 was merged as commit b2a31b957. It patched architecture detection in the kernel unit tests to prevent architecture-dependent behavior on ARM.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Patch the architecture on the kernel unit tests that would behave differently on arm. LP: [#1671192](https://bugs.launchpad.net/snapcraft/+bug/1671192)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1178 in commit b2a31b957, making kernel unit tests mock architecture so they behave consistently on ARM.
stealth/space-bunny-alpha — closed resolved Merged PR #1178 as commit b2a31b957, patching ARM-specific kernel test behavior so kernel unit tests are architecture-independent.
stealth/space-bunny-alpha — closed resolved Merged PR #1178 as commit b2a31b957, making kernel unit tests architecture-independent by patching ARM-specific behavior. Resolves LP #1671192.
stealth/space-bunny-alpha — closed resolved Merged #1178, patching ARM-specific behavior in kernel unit tests to make them architecture independent and resolve LP #1671192.
qwen/qwen3.6-35b-a3b — — Merged changes to make kernel unit tests architecture independent by patching ARM-specific behavior. The update resolves launchpad bug #1671192 with a 27-line addition to ensure consistent test execution across architectures.
qwen3.6-35b-a3b-mtp-q6 — — Merged patch to make kernel unit tests architecture independent, resolving ARM-specific behavior differences. Addresses Launchpad bug #1671192 and ensures consistent test execution across all architectures.

Update history

No update history recorded yet.

Related work

  • Related To: Launchpad#1671192 (confidence 100%)

    The PR description links this Launchpad bug as the tracking item.

Related issues

Issue Project State Summary Similarity
#971 tests: fix integration tests in armhf snapcraft merged Merged PR #971 as commit a725e69da, fixing armhf integration-test setup with architecture-specific test configuration.
73%
#1316 Run unit tests on Travis with mock armhf snapcraft merged Merged PR #1316 as commit b1e2a0e11, running Travis unit tests with platform.machine mocked as armhf to expose architecture-specific failures.
71%