Separate tests from build
Metadata
Current evaluation
Merged PR #293 (commit 4057fe797) moved unit tests into autopkgtest, so internet-dependent tests no longer ran during the package build.
Resolution: closed resolved
Reason: The problem was resolved by merged PR #293, commit 4057fe797, which added the unit tests to the autopkgtest suite and separated them from the build process.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Currently snapcraft fails to build because the tests are run during the build. Some of them require internet access.
https://launchpadlibrarian.net/218099126/buildlog_ubuntu-wily-amd64.snapcraft_0.2-0~168~ubuntu15.10.1_BUILDING.txt.gz
It'd be good to separate the tests out of the build by making them an autopkgtest or something.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #293 (commit 4057fe797) moved unit tests into autopkgtest, so internet-dependent tests no longer ran during the package build. | |
| stealth/space-bunny-alpha | — | closed resolved | Tests were separated from the build by moving unit tests into autopkgtest in merged PR #293 (commit 4057fe797). | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or discussion. The request to separate internet-dependent tests from the build was abandoned, likely superseded by modern packaging standards. | |
| qwen/qwen3.6-35b-a3b | — | — | Isolating internet-dependent tests from the build process was closed without resolution. The suggestion was abandoned or superseded by updated build infrastructure over a decade ago. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The proposal to decouple tests from the build process using autopkgtest was closed without implementation or resolution. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned without implementation. The proposal to isolate internet-dependent tests from the build process using autopkgtest received no activity or follow-up changes before closure. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcraft#293
(confidence 99%)
Merged PR #293, commit 4057fe797, moved the unit tests into autopkgtest.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #600 Remove the unittests from the autopkgtest execution | snapcraft | merged | Merged PR #600 (commit 8a4d204) removed unit tests from the autopkgtest run since they were already executed during the package build, fixing duplicate test runs for LP bug #1596068. | |
| #164 Updated the autopkgtests. | snapcraft | merged | PR #164 merged in commit 70d4e0b26, updating autopkgtests to run integration tests, build examples without installing them, and skip redundant unit tests. |