/
githubmirror
/
ostree
Обзор
Документация
Войти
/
githubmirror
/
ostree
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/xtask/src/main.rs
22 строки
520 B
Xiaofeng Wang
ci: Replace test-tmt shell script with Rust xtask
30 мар 2026, 11:29
30 мар 2026, 11:29
00590b4
Код
Авторство
О чём код?
use anyhow::Result; use clap::Parser; mod tmt; /// Development task runner for ostree integration testing. #[derive(Debug, Parser)] enum Opt { /// Run TMT tests inside bcvk-deployed VMs. /// /// Each plan runs in its own VM for isolation, following the /// bootc-dev/bootc cargo xtask run-tmt pattern. RunTmt(tmt::RunTmtArgs), } fn main() -> Result<()> { let opt = Opt::parse(); let sh = xshell::Shell::new()?; match opt { Opt::RunTmt(args) => tmt::run_tmt(&sh, args), } }