diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-31 18:06:51 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-31 18:10:20 +0300 |
commit | acbb84b021a145ee2dde73ec5923990f42fc18fb (patch) | |
tree | 62525fc8f49d50b9b9df4b28ad80b08643d7456e /tests/gtests/blenlib/CMakeLists.txt | |
parent | bf7d7bc323d5505b78688af2df1f66e1053f62e1 (diff) |
Add BLI_string_utf8 specific test.
This test should ensure we correctly detect all invalid utf-8 sequences in a given string.
DISCLAIMER:
Do not run this with current code - you'll either laugh or cry, nearly *all* checks fail!
Based on utf-8 decoder stress-test (https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt)
by Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> - 2015-08-28 - CC BY 4.0
Diffstat (limited to 'tests/gtests/blenlib/CMakeLists.txt')
-rw-r--r-- | tests/gtests/blenlib/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gtests/blenlib/CMakeLists.txt b/tests/gtests/blenlib/CMakeLists.txt index 12112e7a481..a190d9cd8c5 100644 --- a/tests/gtests/blenlib/CMakeLists.txt +++ b/tests/gtests/blenlib/CMakeLists.txt @@ -42,6 +42,7 @@ BLENDER_TEST(BLI_math_color "bf_blenlib") BLENDER_TEST(BLI_math_geom "bf_blenlib;bf_intern_eigen") BLENDER_TEST(BLI_math_base "bf_blenlib") BLENDER_TEST(BLI_string "bf_blenlib") +BLENDER_TEST(BLI_string_utf8 "bf_blenlib") if(WIN32) BLENDER_TEST(BLI_path_util "bf_blenlib;bf_intern_utfconv;extern_wcwidth;${ZLIB_LIBRARIES}") else() |