diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-08-20 11:33:51 +0200 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2020-08-21 10:42:17 +0800 |
commit | 91121b958219e022d3e3f8f55ee1dd14a42113a5 (patch) | |
tree | 31312dc3832177bc5fbf2900d82373d046131560 | |
parent | fe75754057ca41ad6ce8541e9eb24b14909d5119 (diff) | |
download | libpinyin-91121b958219e022d3e3f8f55ee1dd14a42113a5.tar.gz libpinyin-91121b958219e022d3e3f8f55ee1dd14a42113a5.tar.xz libpinyin-91121b958219e022d3e3f8f55ee1dd14a42113a5.zip |
CMake: enable tests
-rw-r--r-- | tests/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4dfaed1..934bccb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -12,6 +12,8 @@ target_link_libraries( pinyin ) +add_test(NAME pinyin COMMAND test_pinyin) + add_executable( test_phrase test_phrase.cpp @@ -22,6 +24,8 @@ target_link_libraries( pinyin ) +add_test(NAME phrase COMMAND test_phrase) + add_executable( test_chewing test_chewing.cpp @@ -31,3 +35,5 @@ target_link_libraries( test_chewing pinyin ) + +add_test(NAME chewing COMMAND test_chewing) |