summaryrefslogtreecommitdiff
path: root/tests/run-test-display-menu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-test-display-menu.sh')
-rwxr-xr-xtests/run-test-display-menu.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-test-display-menu.sh b/tests/run-test-display-menu.sh
new file mode 100755
index 0000000..79d10ad
--- /dev/null
+++ b/tests/run-test-display-menu.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+GLIB_OPTIONS=`pkg-config --cflags --libs glib-2.0`
+GTK_OPTIONS=`pkg-config --cflags --libs gtk+-2.0`
+GARCON_OPTIONS=`pkg-config --cflags --libs garcon-1`
+
+gcc -o test-display-menu test-display-menu.c $GLIB_OPTIONS $GTK_OPTIONS $GARCON_OPTIONS &&
+G_DEBUG=fatal-criticals gdb ./test-display-menu -x gdb-test-display-menu