mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
ci: build.sh: Add a wrapper function over the 'test' job
This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
387553db48
commit
8e660c5286
@ -52,3 +52,8 @@ run_dist() {
|
|||||||
git update-index --refresh
|
git update-index --refresh
|
||||||
run_cmd meson dist -C build --no-tests
|
run_cmd meson dist -C build --no-tests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run_test() {
|
||||||
|
test -f $GIT_ROOT/build/build.ninja || run_meson_setup
|
||||||
|
run_cmd meson test -C build $TEST_ARGS
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user