diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-04-05 10:02:35 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-04-05 10:02:35 +0900 |
commit | cf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106 (patch) | |
tree | 6575d049b78935abd41fa84140efb8a2ae7ca36d /tests/ssltest.sh | |
parent | 8131b377bffdacb8789c78ef31160b3bf4ee054b (diff) | |
download | portable-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-x | tests/ssltest.sh | 13 |
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 |
7 | fi | 7 | fi |
8 | 8 | ||
9 | openssl_bin=../apps/openssl/openssl | 9 | if [ -d ../apps/openssl ]; then |
10 | if [ -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 | ||
14 | else | ||
15 | openssl_bin=../apps/openssl | ||
16 | if [ -e ../apps/openssl.exe ]; then | ||
17 | openssl_bin=../apps/openssl.exe | ||
18 | fi | ||
12 | fi | 19 | fi |
13 | 20 | ||
14 | if [ -z $srcdir ]; then | 21 | if [ -z $srcdir ]; then |