aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zathura/test.sh
blob: 24f9a78afae04e8e155d8e7de0b310717ef5e683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

Xvfb :4242 &
PID=$!
export DISPLAY=:4242
if make test; then
	kill $PID
	return 0
else
	kill $PID
	return 1
fi