[libvirt PATCH 08/33] ci: build.sh: Add a wrapper function over the 'test' job

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This helper is a shell function transcript of its original GitLab CI
counterpart.

Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux