summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2012-10-16 13:06:13 +0200
committerAlexander Larsson <alexl@redhat.com>2012-10-17 09:44:03 +0200
commitc144ca6aaac81c8b6f1982d9f241e2960b0e1f23 (patch)
treec411a3b0205d45766a3eaa47c86bf87368ddc143 /test
parent4a71400a3ca74baee69f9e90f124fcfd2bcf10b6 (diff)
downloadgvfs-c144ca6aaac81c8b6f1982d9f241e2960b0e1f23.tar.gz
Support running a subset of tests with make check
With this you can run e. g. make check TEST_NAMES="Smb Dav.test_http_auth" to only run a subset of tests. Same for "make installcheck". https://bugzilla.gnome.org/show_bug.cgi?id=686006
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index ebf6de7a..91b0c280 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -64,11 +64,11 @@ noinst_DATA= $(CONFIG_FILES)
# run tests against build tree
check: $(CONFIG_FILES) gvfs-test
- $(srcdir)/run-in-tree.sh $(srcdir)/gvfs-test
+ $(srcdir)/run-in-tree.sh $(srcdir)/gvfs-test $(TEST_NAMES)
# run tests against the installed system packages
installcheck-local: gvfs-test
- $(srcdir)/gvfs-test
+ $(srcdir)/gvfs-test $(TEST_NAMES)
CLEANFILES=$(CONFIG_FILES)