tests: add /snap/bin to PATH in autopkgtests
Metadata
Current evaluation
Merged to add /snap/bin to the autopkgtests PATH, fixing binary lookup failures. Approved, passed CI, and depends on PR #1595.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Requires #1595.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to add /snap/bin to the autopkgtests PATH, fixing binary lookup failures. Approved, passed CI, and depends on PR #1595. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged, adding /snap/bin to the autopkgtests PATH to fix binary lookup failures. The related ros repo key issue was resolved via test skipping. Requires #1595. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Added /snap/bin to the autopkgtest PATH to resolve binary lookup failures. A related ros repo key issue was addressed by skipping affected tests. Requires #1595. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2380 tests: use autopkgtest to leverage snap testing | snapcraft | merged | Merged. Updates the test suite to use autopkgtest for snap testing, modifying 31 files and reducing 137 lines. Changes were integrated into the main branch after passing CI checks. | |
| #1740 tests: add the home plug to the plainbox snap | snapcraft | merged | Merged changes adding the home plug to the plainbox snap. This resolves permission errors for tests writing to XDG_CACHE_HOME in $HOME/autopkgtest_tmp during autopkgtests. Approved by two reviewers and passed CI. | |
| #1068 tests: use a temporary directory for snaps tests | snapcraft | merged | Merged into master. Updated snap tests to use a temporary directory, resolving Launchpad bug #1643658. Approved by reviewer, passed CI, and maintained full test coverage. |