[libvirt PATCH 08/33] ci: build.sh: Add a wrapper function over the 'test' job
Erik Skultety
eskultet at redhat.com
Fri Aug 25 17:55:16 UTC 2023
This helper is a shell function transcript of its original GitLab CI
counterpart.
Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
ci/build.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ci/build.sh b/ci/build.sh
index c56e45f51f..ab471f2741 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -66,3 +66,10 @@ run_dist() {
git update-index --refresh
run_cmd "$CMD"
}
+
+run_test() {
+ local CMD="meson test -C build $TEST_ARGS"
+
+ run_meson_setup
+ run_cmd "$CMD"
+}
--
2.41.0
More information about the libvir-list
mailing list