[nautilus/wip/ernestask/leak-plugging] CI: Add test runner script
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/leak-plugging] CI: Add test runner script
- Date: Sat, 6 Oct 2018 19:54:03 +0000 (UTC)
commit b46e66a8725498e5d0a4b75b1bf39ca3546822d7
Author: Ernestas Kulik <ernestask gnome org>
Date: Sat Oct 6 22:53:28 2018 +0300
CI: Add test runner script
.gitlab-ci.yml | 2 +-
ci/test-runner.sh | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b51f3bb5..c123e57ff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,7 +33,7 @@ flatpak:
- flatpak build app ninja -C _build install
- flatpak-builder --finish-only --repo=repo app ${MANIFEST_PATH}
# Run automatic tests inside the Flatpak env
- - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app dbus-run-session meson test -C _build
+ - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ci/test-runner.sh
# Generate a Flatpak bundle
- flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
artifacts:
diff --git a/ci/test-runner.sh b/ci/test-runner.sh
new file mode 100755
index 000000000..78cf8b71e
--- /dev/null
+++ b/ci/test-runner.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+LANG=C.UTF-8 NO_AT_BRIDGE=1 dbus-run-session meson test -C _build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]