Skip to content

Commit

Permalink
twoliter: only run build-kit tests during integ
Browse files Browse the repository at this point in the history
The build-kit tests significantly balloon twoliter's test time. This
marks them with `#[ignore]`, which will have them run  on `make integ`
or `make build`, but not on `cargo test`.
  • Loading branch information
cbgbt committed Sep 6, 2024
1 parent f835018 commit c451e4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions twoliter/src/cmd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ mod test {
}

#[tokio::test]
#[ignore] // integration test
async fn build_core_kit() {
let kit_name = "core-kit";
let arch = "aarch64";
Expand All @@ -167,6 +168,7 @@ mod test {
}

#[tokio::test]
#[ignore] // integration test
async fn build_extra_1_kit() {
let kit_name = "extra-1-kit";
let arch = "x86_64";
Expand All @@ -190,6 +192,7 @@ mod test {
}

#[tokio::test]
#[ignore] // integration test
async fn build_extra_2_kit() {
let kit_name = "extra-2-kit";
let arch = "aarch64";
Expand All @@ -213,6 +216,7 @@ mod test {
}

#[tokio::test]
#[ignore] // integration test
async fn build_extra_3_kit() {
let kit_name = "extra-3-kit";
let arch = "x86_64";
Expand Down

0 comments on commit c451e4a

Please sign in to comment.