summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-03-03 22:11:17 +0100
committerDave Davenport <qball@gmpclient.org>2015-03-03 22:11:17 +0100
commit94ae8d09e2e4f16961e227a2565658f457117474 (patch)
tree12ccba97c501187c0536c3f76c1845d62e01d130
parentab0f53caf6068546a1dc2a2ba72eada6d6f40155 (diff)
Move test with X stuff in test-x target.
-rw-r--r--.travis.yml2
-rw-r--r--Makefile.am3
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4184cd3b..a80ced0b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ before_install:
- sudo pip install cpp-coveralls
script:
- - autoreconf -i && ./configure --enable-gcov && make && make test
+ - autoreconf -i && ./configure --enable-gcov && make && make test && make test-x
# - make clean && autoreconf -i && ./configure --disable-i3support && make
after_success:
- coveralls -x c --gcov-options '\-lp' -e '<built-in>'
diff --git a/Makefile.am b/Makefile.am
index 30b611fc..0407fcbc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -139,6 +139,9 @@ helper_test_SOURCES=\
test: ${bin_PROGRAMS}
./rofi_test
./helper_test
+
+.PHONY: test-x
+test-x: ${bin_PROGRAMS}
$(top_srcdir)/test/run_test.sh 123 $(top_builddir)/textbox_test $(top_builddir) $(top_srcdir)/doc/example.xresources
$(top_srcdir)/test/run_test.sh 200 $(top_srcdir)/test/run_errormsg_test.sh $(top_builddir) $(top_srcdir)/doc/example.xresources
$(top_srcdir)/test/run_test.sh 201 $(top_srcdir)/test/run_switchdialog_test.sh $(top_builddir) $(top_srcdir)/doc/example.xresources