summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nettle/nettle/run-ptest
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-21 17:28:36 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-23 22:35:00 +0000
commit3c202cd8ce42b220e06e7408fa2bb60e1d54222d (patch)
treecfa54cb809b6dac3586c3e38ced702df79f2061c /meta/recipes-support/nettle/nettle/run-ptest
parent3c2f8b750ab9c53773fb5a9a1a874e475740b4ee (diff)
downloadpoky-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-ptest36
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
3cd testsuite
4
5failed=0
6all=0
7
8for 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
29done
30
31if [ "$failed" -eq 0 ] ; then
32 echo "All $all tests passed"
33else
34 echo "$failed of $all tests failed"
35fi
36