mirror of https://gitee.com/openkylin/libvirt.git
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
|
||||
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