Skip to content

Commit 52e127c

Browse files
committed
Justfile: Add test-tmt-nobuild
Right now touching e.g. xtask.rs causes a build phase when it shouldn't, this helps bypassing that. Signed-off-by: Colin Walters <walters@verbum.org>
1 parent f49a6ba commit 52e127c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Justfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ validate:
102102
# To run an individual test, pass it as an argument like:
103103
# `just test-tmt readonly`
104104
test-tmt *ARGS: build-integration-test-image
105+
@just test-tmt-nobuild {{ARGS}}
106+
107+
# Assume the localhost/bootc-integration image is up to date, and just run tests.
108+
# Useful for iterating on tests quickly.
109+
test-tmt-nobuild *ARGS:
105110
cargo xtask run-tmt --env=BOOTC_variant={{variant}} localhost/bootc-integration {{ARGS}}
106111

107112
# Cleanup all test VMs created by tmt tests

0 commit comments

Comments
 (0)