This helper is a shell function transcript of its original GitLab CI
counterpart.
Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
Erik Skultety <eskultet(a)redhat.com>:
---
ci/build.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ci/build.sh b/ci/build.sh
index ab56c5e5eb..29b6a3306d 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -52,3 +52,8 @@ run_dist() {
git update-index --refresh
run_cmd meson dist -C build --no-tests
}
+
+run_test() {
+ test -d $GIT_ROOT/build/build.ninja || run_meson_setup
+ run_cmd meson test -C build $TEST_ARGS
+}
--
2.41.0