diff options
author | Hop311 <Hop3114@gmail.com> | 2024-08-02 18:55:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 18:55:45 +0200 |
commit | f754eb93d8d4a2f3963f1321ad8e248f24dd6249 (patch) | |
tree | 7d7775dce507efd83afa2ba452ec5b227e35ebb0 /tests/SCsub | |
parent | 847280022ec8afb35d7d8639afd639c5ec42e3c7 (diff) | |
parent | c7c080987e44f606bed73dd8b0c2747e7b386f41 (diff) |
Merge pull request #53 from OpenVicProject/fix/polish-todos
Add `\x8F` to `Ę` conversion for Windows-1252
Diffstat (limited to 'tests/SCsub')
-rw-r--r-- | tests/SCsub | 5 |
1 files changed, 5 insertions, 0 deletions
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), |