aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-07-17 15:17:32 -0400
committerWilliam Hua <william.hua@canonical.com>2013-07-17 15:17:32 -0400
commit97501805b86fa1b38ef8d363255e913909cd42cf (patch)
tree14263fa2167c067eb4789aa0a17dd53aad811ff3 /tests
parentc33096c869fb27b570a2b50ed9515e4a1512626e (diff)
downloadayatana-indicator-keyboard-97501805b86fa1b38ef8d363255e913909cd42cf.tar.gz
ayatana-indicator-keyboard-97501805b86fa1b38ef8d363255e913909cd42cf.tar.bz2
ayatana-indicator-keyboard-97501805b86fa1b38ef8d363255e913909cd42cf.zip
Add test script.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am18
-rwxr-xr-xtests/indicator-keyboard-test3
2 files changed, 12 insertions, 9 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9161365e..2e0e0287 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,17 +1,17 @@
TESTS = indicator-keyboard-test
-check_PROGRAMS = indicator-keyboard-test
+check_PROGRAMS = indicator-keyboard-tests
AM_CFLAGS = -w
AM_LDFLAGS = -lm
AM_VALAFLAGS = --metadatadir $(top_srcdir)/deps \
--vapidir $(top_srcdir)/deps
-indicator_keyboard_test_SOURCES = main.vala \
- config.vala
-indicator_keyboard_test_VALAFLAGS = $(AM_VALAFLAGS) \
- --pkg gio-2.0
-indicator_keyboard_test_CFLAGS = $(AM_CFLAGS) \
- $(GIO_CFLAGS)
-indicator_keyboard_test_LDFLAGS = $(AM_LDFLAGS) \
- $(GIO_LIBS)
+indicator_keyboard_tests_SOURCES = main.vala \
+ config.vala
+indicator_keyboard_tests_VALAFLAGS = $(AM_VALAFLAGS) \
+ --pkg gio-2.0
+indicator_keyboard_tests_CFLAGS = $(AM_CFLAGS) \
+ $(GIO_CFLAGS)
+indicator_keyboard_tests_LDFLAGS = $(AM_LDFLAGS) \
+ $(GIO_LIBS)
diff --git a/tests/indicator-keyboard-test b/tests/indicator-keyboard-test
new file mode 100755
index 00000000..2f336e42
--- /dev/null
+++ b/tests/indicator-keyboard-test
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+./indicator-keyboard-tests