Actions
action #101073
closedSmoke test of basic rust/cargo functionality size:S
Start date:
2021-10-18
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
It would be good to have a basic smoke test of rust/cargo functionality to ensure that it works correctly.
Acceptance criteria¶
- AC1: The test module is executed as usual openSUSE Tumbleweed test
Suggestions¶
- Add test to os-autoinst-distri-opensuse by creating a new test module, e.g. in tests/console/rust.pm
- The module could be done with something like:
zypper in cargo
cargo new testproject
cd testproject
echo 'uuid = "0.8"' >> Cargo.toml
cargo run
This checks:
- If rust/cargo can install properly for compilation.
- That new projects can be created
- That online packages can be downloaded
That the compiler works
Add the test module to https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/main_common.pm#L1597 as well as a schedule file, e.g. in schedule
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/schedule/functional/extra_tests_textmode.yamlCreate pull request and conduct verification runs
Ensure the test works as expected in https://openqa.opensuse.org/tests/overview?distri=opensuse&groupid=1&version=Tumbleweed
Actions