diff --git a/README.adoc b/README.adoc index fb7d6d16e..42ed5f4bb 100644 --- a/README.adoc +++ b/README.adoc @@ -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