aboutsummaryrefslogtreecommitdiffstats
path: root/community/girara/test.sh
diff options
context:
space:
mode:
authorJean-Louis Fuchs <ganwell@fangorn.ch>2017-10-23 22:29:49 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-10-27 09:58:51 +0000
commit85ebd075c4afc0e010057e968f7737d4c5c7c19b (patch)
tree55f8ff4352e5cf354adf0484a9bb15e22168040d /community/girara/test.sh
parentd7b382e0a66d2e4e2856792fec27e8a220119d99 (diff)
downloadaports-85ebd075c4afc0e010057e968f7737d4c5c7c19b.tar.bz2
aports-85ebd075c4afc0e010057e968f7737d4c5c7c19b.tar.xz
community/girara: run test with xvfb, disable tput
* COLOR=0 (disabling tput) wasn't set for all make calls
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