diff options
author | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2019-08-25 21:24:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-25 21:24:06 +0300 |
commit | 87c8e5c1e0c9540f0b6c06ef6f74263a2b90f0dc (patch) | |
tree | 5f9fb8ab5cca58c0fb305be845c375bf8aabdfee /test | |
parent | 2e5995f5f69963fb37186378ec01ccb31f0f5000 (diff) | |
parent | 28e0ece4de8a6d5988b96ec08849ee1737633f9c (diff) | |
download | gost-engine-87c8e5c1e0c9540f0b6c06ef6f74263a2b90f0dc.zip gost-engine-87c8e5c1e0c9540f0b6c06ef6f74263a2b90f0dc.tar.gz gost-engine-87c8e5c1e0c9540f0b6c06ef6f74263a2b90f0dc.tar.bz2 |
Merge pull request #161 from levitte/fix-146-2
test/run_tests: extend support for more operating systems
Diffstat (limited to 'test')
-rw-r--r-- | test/run_tests | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/run_tests b/test/run_tests index a6709fd..b9912cf 100644 --- a/test/run_tests +++ b/test/run_tests @@ -28,8 +28,19 @@ if(defined $ENV{'OPENSSL_ROOT_DIR'}) { $openssl_libdir = $pkgans; $openssl_bindir = "$ENV{'OPENSSL_ROOT_DIR'}/bin"; } + + # Variants of library paths + # Linux, ELF HP-UX $ENV{'LD_LIBRARY_PATH'} = join(':', $openssl_libdir, split(/:/, $ENV{'LD_LIBRARY_PATH'})); + # MacOS X + $ENV{'DYLD_LIBRARY_PATH'} = + join(':', $openssl_libdir, split(/:/, $ENV{'DYLD_LIBRARY_PATH'})); + # AIX, OS/2 + $ENV{'LIBPATH'} = + join(':', $openssl_libdir, split(/:/, $ENV{'LIBPATH'})); + + # Binary path, works on all Unix-like platforms $ENV{'PATH'} = join(':', $openssl_bindir, split(/:/, $ENV{'PATH'})); } |