diff options
author | Armin Kuster <akuster@mvista.com> | 2017-11-21 12:01:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-02 11:25:32 +0000 |
commit | 4ab75023ff4be058995630fecdc1fd4a11118607 (patch) | |
tree | b0b7ebd5ee22b46dfe47a444aebcb73cd586b89f /meta/recipes-support/nettle/nettle-3.4/run-ptest | |
parent | 452fa2df2f2d12e8675925cb04dc4ad9311667a1 (diff) | |
download | poky-4ab75023ff4be058995630fecdc1fd4a11118607.tar.gz |
nettle: update to 3.4 and cleanup
merge .inc
forward ported two patches to work with 3.4
for more info see:
http://lists.gnu.org/archive/html/info-gnu/2017-11/msg00007.html
Change SRC_URI to use GNU download instead of liu.se, which interacts badly with
wget 1.19.2 and downloads uncompressed tarballs (RB).
(From OE-Core rev: 0b5d971a4e8e6904d2f4641fd5f3647d23ff4fa0)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
XX nettle: update SRC_URI
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle/nettle-3.4/run-ptest')
-rw-r--r-- | meta/recipes-support/nettle/nettle-3.4/run-ptest | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-support/nettle/nettle-3.4/run-ptest b/meta/recipes-support/nettle/nettle-3.4/run-ptest new file mode 100644 index 0000000000..b90bed66d2 --- /dev/null +++ b/meta/recipes-support/nettle/nettle-3.4/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 | |||