[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Thu Mar 9 23:55:08 UTC 2017


The branch master has been updated
       via  e5fd8ca43beeb40d33d421b519fb7e1d20358b94 (commit)
      from  2b305ab02e0977ed71c255cc386ff75c397d7820 (commit)


- Log -----------------------------------------------------------------
commit e5fd8ca43beeb40d33d421b519fb7e1d20358b94
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Mar 9 19:08:03 2017 +0100

    Make it possible to select or deselect test groups by number
    
    Examples of possible expressions (adapt to your platform):
    
        make test TESTS=-99
        make test TESTS=10
        make test TESTS=-9?
        make test TESTS=-[89]0
        make test TESTS=[89]0
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2887)

-----------------------------------------------------------------------

Summary of changes:
 test/run_tests.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/run_tests.pl b/test/run_tests.pl
index 66697db..9c5ade1 100644
--- a/test/run_tests.pl
+++ b/test/run_tests.pl
@@ -86,5 +86,8 @@ runtests(map { abs2rel($_, rel2abs(curdir())); } sort keys %tests);
 sub find_matching_tests {
     my ($glob) = @_;
 
+    if ($glob =~ m|^[\d\[\]\?\-]+$|) {
+        return glob(catfile($recipesdir,"$glob-*.t"));
+    }
     return glob(catfile($recipesdir,"*-$glob.t"));
 }


More information about the openssl-commits mailing list