[gvfs] Support running a subset of tests with make check
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gvfs] Support running a subset of tests with make check
- Date: Wed, 17 Oct 2012 08:54:18 +0000 (UTC)
commit c144ca6aaac81c8b6f1982d9f241e2960b0e1f23
Author: Martin Pitt <martinpitt gnome org>
Date:   Tue Oct 16 13:06:13 2012 +0200
    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
 test/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/Makefile.am b/test/Makefile.am
index ebf6de7..91b0c28 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)
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]