summaryrefslogtreecommitdiff
path: root/repo/girara/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'repo/girara/test.sh')
-rwxr-xr-xrepo/girara/test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/repo/girara/test.sh b/repo/girara/test.sh
new file mode 100755
index 0000000..b37dc50
--- /dev/null
+++ b/repo/girara/test.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+Xvfb :4242 &
+PID=$!
+export DISPLAY=:4242
+if ninja -C build meson-test; then
+ kill $PID
+ return 0
+else
+ kill $PID
+ return 1
+fi