From adc067ba745cebf2e2a2f9523bc14136ca1d2680 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 9 Sep 2024 23:22:15 +0200 Subject: fixed win32 CI and nightly builds (refs #5) * The libtool wrapper binaries do not pass down UTF-8 strings correctly, so the Unicode tests failed under some circumstances. * As we aren't actually linking against any locally-built shared libraries, we are passing --disable-shared to libtool which inhibts wrapper generation on win32 and fixes the test suite. * Also use up to date autotools. This didn't fix anything, though. * test suite: try writing an Unicode filename as well * There have been problems doing that on Win32 where UTF-8 was not correctly passed down from the command line and some Windows API calls were only working with ANSI filenames etc. --- tests/testsuite.at | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/testsuite.at b/tests/testsuite.at index 3e121fb..4749b13 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -93,6 +93,8 @@ AT_SETUP([Unicode]) AT_CHECK([$SCITECO -e "8594@I/Здравствуй, мир!/ Z-17\"N(0/0)' J0A-8594\"N(0/0)'"], 0, ignore, ignore) AT_CHECK([$SCITECO -e "8594@^Ua/Здравствуй, мир!/ :Qa-17\"N(0/0)' 0Qa-8594\"N(0/0)'"], 0, ignore, ignore) AT_CHECK([$SCITECO -e "@I/Здравствуй, мир!/ JW .-10\"N(0/0)' ^E-20\"N(0/0)' 204:EE .-10\"N(0/0)'"], 0, ignore, ignore) +AT_CHECK([$SCITECO -e "@I/TEST/ @EW/юникод.txt/"], 0, ignore, ignore) +AT_CHECK([test -f юникод.txt], 0, ignore, ignore) AT_CLEANUP AT_SETUP([Automatic EOL normalization]) -- cgit v1.2.3