Commit 30b64f9f authored by zhujiashun's avatar zhujiashun

improve the way of running ut in cmake

parent 2f1595a4
...@@ -99,7 +99,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak ...@@ -99,7 +99,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak
**Run tests** **Run tests**
```shell ```shell
$ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make test $ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make && make test
``` ```
## Fedora/CentOS ## Fedora/CentOS
...@@ -189,7 +189,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak ...@@ -189,7 +189,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak
**Run tests** **Run tests**
```shell ```shell
$ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make test $ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make && make test
``` ```
## Linux with self-built deps ## Linux with self-built deps
...@@ -327,7 +327,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak ...@@ -327,7 +327,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak
**Run tests** **Run tests**
```shell ```shell
$ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make test $ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make && make test
``` ```
# Supported deps # Supported deps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment