From c7c080987e44f606bed73dd8b0c2747e7b386f41 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Wed, 31 Jul 2024 20:39:48 -0400 Subject: Add `\x8F` to `Ę` conversion for Windows-1252 To support special vanilla Polish TODOs that break utf8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add CSV Win1252->Utf8 conversion tests Fix map_value warning not triggering Optimize for ascii characters --- tests/SCsub | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/SCsub') diff --git a/tests/SCsub b/tests/SCsub index 0a18777..49e2742 100644 --- a/tests/SCsub +++ b/tests/SCsub @@ -47,6 +47,11 @@ tests_env.tests_sources = env.GlobRecursive("*.cpp", [source_path]) SConscript("deps/SCsub", {"env": tests_env }) +# Blame Ubuntu 22's GCC-12 distribution for this crap +# Compiler bug hangs if it can see if there is any reference to \x8F in a character +if env["ubuntu_gcc_invalid_char_hang_bug"]: + tests_env.Append(CPPDEFINES=["_OVDL_TEST_UBUNTU_GCC_12_BUG_"]) + tests_program = tests_env.UnitTest( source=tests_env.tests_sources, target=os.path.join(BINDIR, tests_name), -- cgit v1.2.3-56-ga3b1