Skip to content
David Kuo edited this page Apr 16, 2017 · 4 revisions

Requirements

Install Requirements

  • Ubuntu
    • sudo add-apt-repository ppa:chewing/chewing && sudo apt-get update (if you don't have chewing ppa yet)
    • sudo apt-get install cmake help2man qt5-default qttools5-dev-tools libchewing3-dev

Install from souce

$ git clone https://github.com/chewing/chewing-editor.git
$ cd chewing-editor
$ cmake .
$ make

Unit test

./run_test

[==========] Running 17 tests from 5 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from TestChewingExporter
[ RUN      ] TestChewingExporter.WriteNoUserphrase
[       OK ] TestChewingExporter.WriteNoUserphrase (1 ms)
[ RUN      ] TestChewingExporter.WriteOneUserphrase
[       OK ] TestChewingExporter.WriteOneUserphrase (0 ms)
...
[ RUN      ] TestChewingImporter.PathError
[       OK ] TestChewingImporter.PathError (0 ms)
[----------] 3 tests from TestChewingImporter (2 ms total)

[----------] Global test environment tear-down
[==========] 17 tests from 5 test cases ran. (8 ms total)
[  PASSED  ] 17 tests.
Clone this wiki locally