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:24:35 +0000 |
commit | 0b5d971a4e8e6904d2f4641fd5f3647d23ff4fa0 (patch) | |
tree | bbe5c0671198b1ab999c444037d42cfab71808c8 /meta/recipes-support/nettle/nettle-3.4/run-ptest | |
parent | 537325f204f2f7c66f13a12dc8fc08f8e16e4754 (diff) | |
download | openembedded-core-0b5d971a4e8e6904d2f4641fd5f3647d23ff4fa0.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).
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
XX nettle: update SRC_URI
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 @@ +#! /bin/sh + +cd testsuite + +failed=0 +all=0 + +for f in *-test; do + if [ "$f" = "sha1-huge-test" ] ; then + echo "SKIP: $f (skipped for ludicrous run time)" + continue + fi + + "./$f" + case "$?" in + 0) + echo "PASS: $f" + all=$((all + 1)) + ;; + 77) + echo "SKIP: $f" + ;; + *) + echo "FAIL: $f" + failed=$((failed + 1)) + all=$((all + 1)) + ;; + esac +done + +if [ "$failed" -eq 0 ] ; then + echo "All $all tests passed" +else + echo "$failed of $all tests failed" +fi + |