From 94ae8d09e2e4f16961e227a2565658f457117474 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 3 Mar 2015 22:11:17 +0100 Subject: [PATCH] Move test with X stuff in test-x target. --- .travis.yml | 2 +- Makefile.am | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 '' 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