2020-04-23 Niels Möller <nisse@lysator.liu.se>
+ * run-tests: Set WINEPATH, since it appears wine doesn't search
+ for dlls in the unix PATH.
+ * examples/setup-env: Delete creation of extra dll symlinks.
+ * examples/teardown-env: Delete corresponding cleanup.
+ * testsuite/setup-env: Deleted file (same symlink creation).
+ * testsuite/teardown-env: Delete corresponding cleanup.
+
* testsuite/ecc-add-test.c (test_main): Delete ASSERTs with
functions pointer comparisons. They provide little value, and fail
when linking with hogweed.dll on windows.
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 -sf "$f" .
- done
- ;;
-esac
-
if [ -x rsa-keygen$EXEEXT ] ; then
$EMULATOR ./rsa-keygen -r rsa-decrypt$EXEEXT -o testkey || exit 1
fi
rm -rf testkey testkey.pub testsignature testsignature2 \
testdata testtmp \
testciphertext testcleartext
-
-case "$EMULATOR" in
- wine*)
- find . -type l -name '*.dll' -exec rm -f '{}' ';'
- ;;
-esac
DYLD_LIBRARY_PATH="$TEST_SHLIB_DIR"
# For Windows
PATH="${TEST_SHLIB_DIR}:${PATH}"
+ # For Wine
+ WINEPATH="${TEST_SHLIB_DIR}"
+
export LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
export PATH
+ export WINEPATH
fi
# When used in make rules, we sometimes get the filenames VPATH
+++ /dev/null
-#! /bin/sh
-
-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 -sf "$f" .
- done
- ;;
-esac
#! /bin/sh
rm -rf testkey.priv testkey.pub testtmp testsignature testsignature2
-
-case "$EMULATOR" in
- wine*)
- find . -type l -name '*.dll' -exec rm -f '{}' ';'
- ;;
-esac