← Back to issue list

snapcraft can't run tests as part of building a snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1626625
Type
issue
State
closed
Author
~cmiller
Labels
Created
Updated
Closed

Current evaluation

Closed without implementation. The request to add test execution rules to snapcraft received no comments and was abandoned or superseded by newer snapcraft testing features.

Suggested action:

No scores available.

Issue body

It's quite a common pattern in the autoconf world to have the resulting makefile have rules that verify the build against a test suite. There is no way to run those tests right now. I think it would be nice to have in autoconf and maybe others a way to run tests after build, the failure of which halts packaging. ideas plugin: autoconf accept-if: - make run-unittests - make run-coveragetests or plugin: autoconf test-rules: [ run-unittests, run-coveragetests ]

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without implementation. The request to add test execution rules to snapcraft received no comments and was abandoned or superseded by newer snapcraft testing features.
qwen/qwen3.6-35b-a3b
Staleness: 100
Complexity: 20
Confidence: 90
Support Request: 10
close stale Feature request to add test execution support to the autoconf plugin in snapcraft, allowing build-time test suites to run and halt packaging on failure. Unresponded to and inactive for nearly a decade.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 10
close stale Feature request to add test execution rules to the autoconf plugin. Untriaged, zero comments, and inactive for nearly 10 years. Clearly outdated relative to current snapcraft architecture.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 15
Confidence: 95
Support Request: 0
close stale Feature request to add test execution rules to snapcraft plugins like autoconf. Unlabelled, zero comments, and inactive for nearly a decade. The plugin system is deprecated in modern snapcraft.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 90
Support Request: 10
close stale Request to add test execution to snapcraft builds, allowing plugins like autoconf to run suites and halt packaging on failure. Open with no comments, inactive for nearly a decade. Needs triage and assignment.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1805212 snapcraft try (integrated with build environments) snapcraft (launchpad) closed Closed with no comments or resolution details. The feature to integrate snapcraft try with build environments was likely abandoned or superseded by later releases.
75%
#1723965 snapcraft doesn't work snapcraft (launchpad) closed Closed without resolution or comments, indicating abandonment. The reported snap command failure and GL driver errors remain unresolved.
75%
#1548915 snapcraft without argumens should just snap snapcraft (launchpad) closed Closed without implementation. The feature request to run snapcraft without arguments was abandoned, with no discussion or code changes made.
74%
#1699 snapcraft <help> command snapcraft closed Closed without implementation or discussion. No resolution or merge details were provided, indicating the snapcraft help command feature request was abandoned.
74%
#1973197 snapcraft 7.x not running override-build snapcraft (launchpad) closed snapcraft 7.x failing to execute override-build was closed without a fix or resolution. Zero comments were posted, indicating the report was abandoned.
74%
#5841 Include "build snapd snap" test in test suite snapcraft closed Closed without implementation or linked resolution. The requested build test was not added, indicating the issue was abandoned or superseded by alternative testing measures.
74%
#1973146 snapcraftctl build fails with message "expected string or bytes-like object" snapcraft (launchpad) closed Closed without comments or resolution details. Likely abandoned due to inactivity. No fix was implemented or documented for the snapcraftctl build TypeError.
73%
#56 feat(snapcraft): snapcraft test action craft-actions closed Closed without merge due to missing README and pending review. The snapcraft test action remains abandoned.
73%
#1636653 During snapcraft releases, we are not testing that important projects continue to build snapcraft (launchpad) closed Closed without implementation. No automated test suite was created to verify critical projects build during snapcraft releases. The request was abandoned after extended inactivity.
73%
#1666908 Create a snapcraft snap snapcraft (launchpad) closed Closed without implementation. The request to package snapcraft as a snap was abandoned after nearly a decade with no comments or follow-up action.
73%