summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-07-23 15:34:08 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-07-23 15:34:08 +0200
commitdcf1933daa37dba6ada16a4220c70d93db9732c5 (patch)
tree433a59e0faee3d332ea7264e006d096418cd4311 /doc/it
parentb9d762b3c838c7e64f33465df443d7235bd82c10 (diff)
downloadweechat-dcf1933daa37dba6ada16a4220c70d93db9732c5.zip
doc: add instructions to run tests in user's guide
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_user.it.adoc21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index 2f3afd60a..c76469d1a 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -365,6 +365,27 @@ command:
$ ./configure --help
----
+// TRANSLATION MISSING
+[[run_tests]]
+==== Run tests
+
+Following packages are *required* to compile tests:
+
+* libcpputest-dev
+* C++ compiler
+
+Tests must be enabled when compiling WeeChat (with cmake):
+
+----
+$ cmake .. -DENABLE_TESTS=ON
+----
+
+They can be launched after compilation from the build directory (with cmake):
+
+----
+$ ctest -V
+----
+
[[git_sources]]
=== Sorgenti git