|
@ -82,15 +82,15 @@ if(UTF8PROC_ENABLE_TESTING) |
|
|
add_test(testprintproperty printproperty) |
|
|
add_test(testprintproperty printproperty) |
|
|
add_test(testvalid valid) |
|
|
add_test(testvalid valid) |
|
|
if (NOT WIN32) |
|
|
if (NOT WIN32) |
|
|
# Some test disabled, because they don't compile on Windows, missing getline, ... |
|
|
# no wcwidth function on Windows |
|
|
add_executable(charwidth test/tests.h test/tests.c utf8proc.h test/charwidth.c) |
|
|
add_executable(charwidth test/tests.h test/tests.c utf8proc.h test/charwidth.c) |
|
|
target_link_libraries(charwidth utf8proc) |
|
|
target_link_libraries(charwidth utf8proc) |
|
|
add_executable(graphemetest test/tests.h test/tests.c utf8proc.h test/graphemetest.c) |
|
|
|
|
|
target_link_libraries(graphemetest utf8proc) |
|
|
|
|
|
add_executable(normtest test/tests.h test/tests.c utf8proc.h test/normtest.c) |
|
|
|
|
|
target_link_libraries(normtest utf8proc) |
|
|
|
|
|
add_test(testcharwidth charwidth) |
|
|
add_test(testcharwidth charwidth) |
|
|
#add_test(testgraphemetest graphemetest data/GraphemeBreakTest.txt) |
|
|
|
|
|
#add_test(testnormtest normtest data/NormalizationTest.txt) |
|
|
|
|
|
endif() |
|
|
endif() |
|
|
|
|
|
add_executable(graphemetest test/tests.h test/tests.c utf8proc.h test/graphemetest.c) |
|
|
|
|
|
target_link_libraries(graphemetest utf8proc) |
|
|
|
|
|
add_executable(normtest test/tests.h test/tests.c utf8proc.h test/normtest.c) |
|
|
|
|
|
target_link_libraries(normtest utf8proc) |
|
|
|
|
|
#add_test(testgraphemetest graphemetest data/GraphemeBreakTest.txt) |
|
|
|
|
|
#add_test(testnormtest normtest data/NormalizationTest.txt) |
|
|
endif() |
|
|
endif() |
|
|