Merge ~blkerby/ubuntu/+source/rustc:fix-create-and-build-crate into ~canonical-foundations/ubuntu/+source/rustc:merge-1.91
| Status: | Merged |
|---|---|
| Merge reported by: | Max Gilmour |
| Merged at revision: | 612e7c4646cb71652eab11ceca03f6c87757496c |
| Proposed branch: | ~blkerby/ubuntu/+source/rustc:fix-create-and-build-crate |
| Merge into: | ~canonical-foundations/ubuntu/+source/rustc:merge-1.91 |
| Diff against target: |
61 lines (+16/-10) 2 files modified
debian/tests/control (+2/-2) debian/tests/create-and-build-crate (+14/-8) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Max Gilmour | Approve | ||
|
Review via email:
|
|||
Description of the change
Currently the "create-
- In the test Depends, replace @builddeps@ with @. The build dependencies are not needed for this test and are what resulted in the wrong cargo/rustc versions being available.
- In the test Restrictions, drop "rw-build-tree", as it isn't needed for this test.
- Include the "-x" bash option, to be able to see the commands being executed. This helped with debugging the test and also makes clear which versions are being used. This writes to stderr but we are already using the "allow-stderr" restriction so it works.

Great catch, thanks! Merging.