os-autoinst-distri-opensuse
os-autoinst-distri-opensuse copied to clipboard
Expand rust tests
What?
This PR aims to expand the test coverage for the rust language packages.
It aims to build upon the already existing test for the cargo
package found in tests/console/rust.pm
and include rustup
into the coverage as well.
-- This is experimental and WIP --
Todo
- [x] Separation of
cargo
andrustup
tests
rustup
- Tests
- [x] Installation of
rustup
- [x] Test installing a new rust toolchain with
rustup
- [x] Test switching default toolchain with
rustup
cargo
- Tests
- [x] Test installation of
cargo
- [x] Test project creation with
cargo
- [x] Test dependency management with
cargo
- [x] Test project compilation with
cargo
- [x] Add docs creation with
cargo
Links
- Related ticket: N/A
- Needles: N/A
- Verification run: TBD
triggered: https://openqa.suse.de/tests/14413412
for JOB in $JOBS; do GITHUB_TOKEN=$(gh auth token) openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19080 $JOB SCHEDULE=tests/installation/bootloader_start,tests/boot/boot_to_desktop,tests/console/consoletest_setup,tests/console/rust_cargo,tests/console/rust_rustup TEST=RUST_33881; done;
Here's the openSUSE build: https://openqa.opensuse.org/tests/4213796#step/rust_rustup/13