diff options
author | 2019-11-27 19:54:40 +0000 | |
---|---|---|
committer | 2019-11-27 19:54:40 +0000 | |
commit | 280d9bb383c7d8aa92752af7772adb6afaadc498 (patch) | |
tree | 3498f521eb398ac04f06ac3cbf3b202c62e631d4 | |
parent | Add list-io command (diff) | |
download | wireguard-openbsd-280d9bb383c7d8aa92752af7772adb6afaadc498.tar.xz wireguard-openbsd-280d9bb383c7d8aa92752af7772adb6afaadc498.zip |
Only print the basename of skipped test files.
-rw-r--r-- | regress/lib/libcrypto/wycheproof/wycheproof.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index e35c5990595..1bff4155a8c 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.95 2019/11/27 19:34:35 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.96 2019/11/27 19:54:40 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> * Copyright (c) 2018, 2019 Theo Buehler <tb@openbsd.org> @@ -57,6 +57,7 @@ import ( "path/filepath" "regexp" "sort" + "strings" "unsafe" ) @@ -2453,7 +2454,7 @@ func main() { } for _, tv := range tvs { if skip.Match([]byte(tv)) { - fmt.Printf("INFO: Skipping tests from %s\n", tv) + fmt.Printf("INFO: Skipping tests from \"%s\"\n", strings.TrimPrefix(tv, testVectorPath + "/")) continue } if !runTestVectors(tv, webcrypto) { |