summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl/run-ptest
blob: c89ec5afa1bd924845da5a72a22ca3c2090be744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

# Optional arguments are 'list' to lists all tests, or the test name (base name
# ie test_evp, not 03_test_evp.t).

export TOP=.
# OPENSSL_ENGINES is relative from the test binaries
export OPENSSL_ENGINES=../engines

{ HARNESS_JOBS=4 perl ./test/run_tests.pl $* || echo "FAIL: openssl" ; } | sed -u -r -e '/(.*) \.*.ok/ s/^/PASS: /g' -r -e '/Dubious(.*)/ s/^/FAIL: /g' -e '/(.*) \.*.skipped: (.*)/ s/^/SKIP: /g'