diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-02-21 17:28:36 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-23 22:35:00 +0000 |
commit | 3c202cd8ce42b220e06e7408fa2bb60e1d54222d (patch) | |
tree | cfa54cb809b6dac3586c3e38ced702df79f2061c /meta/recipes-support/nettle/nettle/run-ptest | |
parent | 3c2f8b750ab9c53773fb5a9a1a874e475740b4ee (diff) | |
download | poky-3c202cd8ce42b220e06e7408fa2bb60e1d54222d.tar.gz |
nettle: Upgrade to 3.7.1
bugfix release [1]
[1] https://lists.gnu.org/archive/html/info-gnu/2021-02/msg00011.html
(From OE-Core rev: 28156e43673288ecfb9d43b1aecfd01256c71585)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle/nettle/run-ptest')
-rw-r--r-- | meta/recipes-support/nettle/nettle/run-ptest | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-support/nettle/nettle/run-ptest b/meta/recipes-support/nettle/nettle/run-ptest new file mode 100644 index 0000000000..b90bed66d2 --- /dev/null +++ b/meta/recipes-support/nettle/nettle/run-ptest | |||
@@ -0,0 +1,36 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | cd testsuite | ||
4 | |||
5 | failed=0 | ||
6 | all=0 | ||
7 | |||
8 | for f in *-test; do | ||
9 | if [ "$f" = "sha1-huge-test" ] ; then | ||
10 | echo "SKIP: $f (skipped for ludicrous run time)" | ||
11 | continue | ||
12 | fi | ||
13 | |||
14 | "./$f" | ||
15 | case "$?" in | ||
16 | 0) | ||
17 | echo "PASS: $f" | ||
18 | all=$((all + 1)) | ||
19 | ;; | ||
20 | 77) | ||
21 | echo "SKIP: $f" | ||
22 | ;; | ||
23 | *) | ||
24 | echo "FAIL: $f" | ||
25 | failed=$((failed + 1)) | ||
26 | all=$((all + 1)) | ||
27 | ;; | ||
28 | esac | ||
29 | done | ||
30 | |||
31 | if [ "$failed" -eq 0 ] ; then | ||
32 | echo "All $all tests passed" | ||
33 | else | ||
34 | echo "$failed of $all tests failed" | ||
35 | fi | ||
36 | |||