diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2016-12-31 05:07:47 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-01-04 07:59:48 +0100 |
commit | 9a38264f2065ae97ef3307f47c67bbee2313cb1c (patch) | |
tree | e4cb032a1b0d474773592228d820f459603b190a /tests/cert-tests/provable-privkey-rsa2048 | |
parent | 9f75df64d3a53e1cbad3eabf266acec7b426869a (diff) | |
download | gnutls-9a38264f2065ae97ef3307f47c67bbee2313cb1c.tar.gz |
tests: skip tests that requires tools if tools are disabled
building with --disable-tools should not cause test failure.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'tests/cert-tests/provable-privkey-rsa2048')
-rwxr-xr-x | tests/cert-tests/provable-privkey-rsa2048 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cert-tests/provable-privkey-rsa2048 b/tests/cert-tests/provable-privkey-rsa2048 index 3cd7aab441..f846476e7e 100755 --- a/tests/cert-tests/provable-privkey-rsa2048 +++ b/tests/cert-tests/provable-privkey-rsa2048 @@ -25,6 +25,10 @@ CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}" DIFF="${DIFF:-diff}" OUTFILE=provable-privkey$$.tmp +if ! test -x "${CERTTOOL}"; then + exit 77 +fi + if ! test -z "${VALGRIND}"; then VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}" fi |