← Back to issue list

Run unittests as part of the integration tests

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1541421
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Unit tests were added to the autopkgtest suite across tested architectures via canonical/snapcraft#293 (merge commit af4d3bbf5, implementation 4057fe797).

Resolution: closed resolved

Reason: canonical/snapcraft#293 was merged as commit af4d3bbf5. Its implementation, 4057fe797, added unit tests to the autopkgtest suite so platform-specific paths were exercised on each architecture.

Evaluated by: mr-cal-bot

No scores available.

Issue body

We want the unit tests to run on all arches as we have platform specific code paths

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Unit tests were added to the autopkgtest suite across tested architectures via canonical/snapcraft#293 (merge commit af4d3bbf5, implementation 4057fe797).
stealth/space-bunny-alpha — closed stale Closed without a documented fix. Later, PR #600 removed unit tests from autopkgtests because package builds already ran them.
qwen/qwen3.6-35b-a3b — — Closed with no comments or resolution. The request to run unit tests across all architectures as part of integration tests was abandoned.
qwen/qwen3.6-35b-a3b — — Requested running unit tests as part of integration tests across all architectures due to platform-specific code. The request was closed without comments or further discussion.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#293 (confidence 99%)

    The merge commit references the bug branch and records addition of unit tests to autopkgtest.

Related issues

Issue Project State Summary Similarity
#1716 tests: split the integration autopkgtests snapcraft merged Merged in snapcraft#1716 via 57af155a7, splitting integration autopkgtests into separate runs to prevent timeout failures despite added setup overhead.
76%
#1596068 The unittests in autopkgtest are run twice snapcraft (launchpad) closed PR #600 removed unit tests from autopkgtest, merging as commit 8a4d204de and shipping in snapcraft 2.12; the SRU was successfully verified.
71%
#783 Add an integration test for autotools snapcraft merged Merged snapcraft#783 in commit 874b28041, adding integration-test coverage for the Autotools plugin and resolving LP bug #1621694.
70%