aboutsummaryrefslogtreecommitdiffstats
path: root/community/girara/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'community/girara/test.sh')
-rwxr-xr-xcommunity/girara/test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/girara/test.sh b/community/girara/test.sh
new file mode 100755
index 0000000000..690b3c5a38
--- /dev/null
+++ b/community/girara/test.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+Xvfb :4242 &
+PID=$!
+export DISPLAY=:4242
+if make test COLOR=0; then
+ kill $PID
+ return 0
+else
+ kill $PID
+ return 1
+fi