core: add instructions to run tests in README

v2.8-utf8proc
Sébastien Helleu 2017-07-23 15:33:47 +02:00
parent 16661b0cbe
commit b9d762b3c8
1 changed files with 19 additions and 0 deletions

View File

@ -90,6 +90,25 @@ $ make install
For more information or installation with autotools, please look at
https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
=== Run tests
Following packages are *required* to compile tests:
* libcpputest-dev
* C++ compiler
Tests must be enabled when compiling WeeChat:
----
$ cmake .. -DENABLE_TESTS=ON
----
They can be launched after compilation from the build directory:
----
$ ctest -V
----
== Copyright
Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>