summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-16 18:29:25 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-16 18:29:25 +0200
commita0f8f486340cdc2109e69d945ba235a8cf6e9e1b (patch)
treec851e8eed2402d83a17400bb61da15941c1a6554 /Makefile
parentec496289debf2722626406daa3c34d35d35dd567 (diff)
Begin work on X test. So far, checks if q, x and ESC quit feh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2a88192..6acb970 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,17 @@ all:
test: all
@PACKAGE=${PACKAGE} VERSION=${VERSION} prove test
+test-interactive: all
+ @if [ "$$(whoami)" != derf ]; then \
+ echo "Note: This will do stuff with your X and take a while"; \
+ echo "If you don't know what's going on, hit ^C now"; \
+ sleep 5; \
+ echo "Okay, running test"; \
+ fi
+ @if [ "$$(whoami)" = derf ]; then setxkbmap us; fi
+ @prove test/*.i
+ @if [ "$$(whoami)" = derf ]; then setxkbmap greedy; fi
+
install: install-man install-doc install-bin install-font install-img
install-man: