gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 101/205: make: introduce 'test-nonflaky' target


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 101/205: make: introduce 'test-nonflaky' target
Date: Thu, 20 Apr 2017 16:20:41 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 207f588987855e4ab8bc836c7f45d5323f1f69e5
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Mar 22 10:48:20 2017 +0100

    make: introduce 'test-nonflaky' target
    
    Running this in the root build dir will invoke the test suite to only
    run tests not marked as 'flaky'.
---
 Makefile.am       | 3 +++
 tests/Makefile.am | 8 +++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 1507a841e..fcc5606b0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -193,6 +193,9 @@ test:
 test-full:
        @(cd tests; $(MAKE) all full-test)
 
+test-nonflaky:
+       @(cd tests; $(MAKE) all nonflaky-test)
+
 test-torture:
        @(cd tests; $(MAKE) all torture-test)
 
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b733e2d57..39cd97145 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2016, Daniel Stenberg, <address@hidden>, et al.
+# Copyright (C) 1998 - 2017, Daniel Stenberg, <address@hidden>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -65,6 +65,9 @@ TEST_Q = -a -s
 TEST_AM = -a -am
 TEST_F = -a -p -r
 TEST_T = -a -t
+
+# !flaky means that it'll skip all tests using the flaky keyword
+TEST_NF = -a -p -r !flaky
 endif
 
 # make sure that PERL is pointing to an executable
@@ -83,6 +86,9 @@ am-test: perlcheck all
 full-test: perlcheck all
        $(TEST) $(TEST_F)
 
+nonflaky-test: perlcheck all
+       $(TEST) $(TEST_NF)
+
 torture-test: perlcheck all
        $(TEST) $(TEST_T)
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]