summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2020-11-29 19:31:50 +0100
committerGitHub <noreply@github.com>2020-11-29 19:31:50 +0100
commit32137b35e3a55591a86edb6a201a30cf4deb84c1 (patch)
tree510afb8e71dea06fa64ebe3625e4b16f11f7d237 /docs
parent89caf9d9b093dbe8f5dc427ee1533be514be5287 (diff)
downloadwiki-32137b35e3a55591a86edb6a201a30cf4deb84c1.tar.gz
wiki-32137b35e3a55591a86edb6a201a30cf4deb84c1.tar.bz2
wiki-32137b35e3a55591a86edb6a201a30cf4deb84c1.zip
docs: align test build (#298)
Diffstat (limited to 'docs')
-rw-r--r--docs/unit-testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/unit-testing.md b/docs/unit-testing.md
index ef28ada..f889213 100644
--- a/docs/unit-testing.md
+++ b/docs/unit-testing.md
@@ -2,7 +2,7 @@
## How to compile and run the AC unit tests
-1. You have to compile your core by passing `-DUNIT_TESTS=1` in your `cmake` command.
+1. You have to compile your core by passing `-DBUILD_TESTING=1` in your `cmake` command.
For example:
@@ -10,7 +10,7 @@ For example:
cd azerothcore
mkdir build
cd build
-cmake ../ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=1 -DUNIT_TESTS=1
+cmake ../ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=1 -DBUILD_TESTING=1
make install -j 6
```