diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-20 17:53:36 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-24 00:44:18 +0200 |
| commit | 354cf55bb0e8e70d4c9f40c91ae3f89e7922da01 (patch) | |
| tree | 74a3c5843f0e6f163b123150d6456d3419376508 /run | |
| parent | 11ee457964181fbc59aa1b06e3788de24a2763b8 (diff) | |
Add some wxWidgets-based i18n tests.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/tests | 12 | ||||
| -rw-r--r-- | run/tests.bat | 2 |
2 files changed, 13 insertions, 1 deletions
@@ -123,5 +123,15 @@ elif [ "$type" == "helgrind" ]; then valgrind --tool="helgrind" build/test/unit-tests $* else ulimit -c unlimited - build/test/lib/unit-tests --catch_system_errors=no $* + if [ "$(uname)" == "Darwin" ]; then + if [ "$(defaults read -g AppleLocale)" == "en_DE" ]; then + build/test/lib/unit-tests --catch_system_errors=no $* + build/test/wx/unit-tests --catch_system_errors=no $* -t !i18n_test_de_de + else + build/test/wx/unit-tests --catch_system_errors=no $* -t i18n_test_de_de + fi + else + build/test/lib/unit-tests --catch_system_errors=no $* + build/test/wx/unit-tests --catch_system_errors=no $* + fi fi diff --git a/run/tests.bat b/run/tests.bat index a50335307..f09b3c4a0 100644 --- a/run/tests.bat +++ b/run/tests.bat @@ -8,10 +8,12 @@ if "%1" == "2057" ( REM en-DE set PATH=%PATH%;c:\users\ci\bin_v2.18.x;c:\users\ci\workspace\dcpomatic\bin;c:\users\ci\workspace\dcpomatic\lib build\test\lib\unit-tests.exe --log_level=test_suite %2 %3 -t !i18n_test_de_de + build\test\wx\unit-tests.exe --log_level=test_suite %2 %3 -t !i18n_test_de_de ) else ( REM Presumably de-DE set PATH=%PATH%;c:\users\ci-de\bin_v2.18.x;c:\users\ci-de\workspace\dcpomatic\bin;c:\users\ci-de\workspace\dcpomatic\lib build\test\lib\unit-tests.exe --log_level=test_suite -t i18n_test_de_de + build\test\wx\unit-tests.exe --log_level=test_suite -t i18n_test_de_de ) |
