aboutsummaryrefslogtreecommitdiff
path: root/tests/ssltest.sh
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2016-04-05 10:02:35 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2016-04-05 10:02:35 +0900
commitcf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106 (patch)
tree6575d049b78935abd41fa84140efb8a2ae7ca36d /tests/ssltest.sh
parent8131b377bffdacb8789c78ef31160b3bf4ee054b (diff)
downloadportable-cf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106.tar.gz
portable-cf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106.tar.bz2
portable-cf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106.zip
execute tests that require srcdir environment variable with cmake
- uncomment procedures for aeadtest, evptest, pq_test, ssltest, testdsa and testrsa - add set_tests_properties() for setting environment variable srcdir - tweak openssl path in ssltest.sh, testdsa.sh, testenc.sh and testrsa.sh
Diffstat (limited to 'tests/ssltest.sh')
-rwxr-xr-xtests/ssltest.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/ssltest.sh b/tests/ssltest.sh
index 5b48b40..28da3ac 100755
--- a/tests/ssltest.sh
+++ b/tests/ssltest.sh
@@ -6,9 +6,16 @@ if [ -e ./ssltest.exe ]; then
6 ssltest_bin=./ssltest.exe 6 ssltest_bin=./ssltest.exe
7fi 7fi
8 8
9openssl_bin=../apps/openssl/openssl 9if [ -d ../apps/openssl ]; then
10if [ -e ../apps/openssl/openssl.exe ]; then 10 openssl_bin=../apps/openssl/openssl
11 openssl_bin=../apps/openssl/openssl.exe 11 if [ -e ../apps/openssl/openssl.exe ]; then
12 openssl_bin=../apps/openssl/openssl.exe
13 fi
14else
15 openssl_bin=../apps/openssl
16 if [ -e ../apps/openssl.exe ]; then
17 openssl_bin=../apps/openssl.exe
18 fi
12fi 19fi
13 20
14if [ -z $srcdir ]; then 21if [ -z $srcdir ]; then