Skip to content
Snippets Groups Projects
Commit fb5ee376 authored by Niels Möller's avatar Niels Möller
Browse files

* testsuite/setup-env: New file. Wine workaround. Can't get

../.lib into wine's dll search path, so create additional
symlinks.
* testsuite/teardown-env: ...and delete them here.
* examples/setup-env: Similar links setup here.
* examples/teardown-env: ... and deleted.

Rev: nettle/examples/setup-env:1.3
Rev: nettle/examples/teardown-env:1.3
parent b2b50cc3
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,15 @@
set -e
# Workaround, it seems difficult to convince wine to put ../lib into PATH.
case "$EMULATOR" in
wine*)
for f in ../.lib/*.dll ; do
ln -s "$f" .
done
;;
esac
if [ -x rsa-keygen$EXEEXT ] ; then
$EMULATOR ./rsa-keygen -r rsa-decrypt$EXEEXT -o testkey || exit 1
fi
......@@ -4,4 +4,8 @@ rm -rf testkey testkey.pub testsignature testsignature2 \
testdata testtmp \
testciphertext testcleartext
case "$EMULATOR" in
wine*)
rm `find . -type l -name '*.dll'`
;;
esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment