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/testdsa.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/testdsa.sh')
-rwxr-xr-x | tests/testdsa.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/testdsa.sh b/tests/testdsa.sh index ed681e7..7ecb8ef 100755 --- a/tests/testdsa.sh +++ b/tests/testdsa.sh | |||
@@ -4,9 +4,16 @@ | |||
4 | 4 | ||
5 | #Test DSA certificate generation of openssl | 5 | #Test DSA certificate generation of openssl |
6 | 6 | ||
7 | cmd=../apps/openssl/openssl | 7 | if [ -d ../apps/openssl ]; then |
8 | if [ -e ../apps/openssl/openssl.exe ]; then | 8 | cmd=../apps/openssl/openssl |
9 | cmd=../apps/openssl/openssl.exe | 9 | if [ -e ../apps/openssl/openssl.exe ]; then |
10 | cmd=../apps/openssl/openssl.exe | ||
11 | fi | ||
12 | else | ||
13 | cmd=../apps/openssl | ||
14 | if [ -e ../apps/openssl.exe ]; then | ||
15 | cmd=../apps/openssl.exe | ||
16 | fi | ||
10 | fi | 17 | fi |
11 | 18 | ||
12 | if [ -z $srcdir ]; then | 19 | if [ -z $srcdir ]; then |