diff options
| author | tb <> | 2019-11-27 19:54:40 +0000 |
|---|---|---|
| committer | tb <> | 2019-11-27 19:54:40 +0000 |
| commit | 91110aa49645697bd2f2335052f1ee264877ca1e (patch) | |
| tree | 88d43ce2ee4dc91f83b3196c5989fc001a3b0834 /src | |
| parent | 9e2b217f1296e772c5d59e974b9e874570f149aa (diff) | |
| download | openbsd-91110aa49645697bd2f2335052f1ee264877ca1e.tar.gz openbsd-91110aa49645697bd2f2335052f1ee264877ca1e.tar.bz2 openbsd-91110aa49645697bd2f2335052f1ee264877ca1e.zip | |
Only print the basename of skipped test files.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 5 |
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) { |
