summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2019-11-27 19:54:40 +0000
committertb <>2019-11-27 19:54:40 +0000
commit51ead3251e776031b166c7bf7ecf42df0ee0e3d4 (patch)
tree88d43ce2ee4dc91f83b3196c5989fc001a3b0834
parentb86392611657ff3b77dccaeb37da05a8f61f4162 (diff)
downloadopenbsd-51ead3251e776031b166c7bf7ecf42df0ee0e3d4.tar.gz
openbsd-51ead3251e776031b166c7bf7ecf42df0ee0e3d4.tar.bz2
openbsd-51ead3251e776031b166c7bf7ecf42df0ee0e3d4.zip
Only print the basename of skipped test files.
-rw-r--r--src/regress/lib/libcrypto/wycheproof/wycheproof.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
index e35c599059..1bff4155a8 100644
--- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go
+++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
@@ -1,4 +1,4 @@
1/* $OpenBSD: wycheproof.go,v 1.95 2019/11/27 19:34:35 tb Exp $ */ 1/* $OpenBSD: wycheproof.go,v 1.96 2019/11/27 19:54:40 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2018, 2019 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018, 2019 Theo Buehler <tb@openbsd.org>
@@ -57,6 +57,7 @@ import (
57 "path/filepath" 57 "path/filepath"
58 "regexp" 58 "regexp"
59 "sort" 59 "sort"
60 "strings"
60 "unsafe" 61 "unsafe"
61) 62)
62 63
@@ -2453,7 +2454,7 @@ func main() {
2453 } 2454 }
2454 for _, tv := range tvs { 2455 for _, tv := range tvs {
2455 if skip.Match([]byte(tv)) { 2456 if skip.Match([]byte(tv)) {
2456 fmt.Printf("INFO: Skipping tests from %s\n", tv) 2457 fmt.Printf("INFO: Skipping tests from \"%s\"\n", strings.TrimPrefix(tv, testVectorPath + "/"))
2457 continue 2458 continue
2458 } 2459 }
2459 if !runTestVectors(tv, webcrypto) { 2460 if !runTestVectors(tv, webcrypto) {