Commit 2f1595a4 authored by zhujiashun's avatar zhujiashun

improve the way of running ut in cmake

parent 54c28a33
...@@ -99,9 +99,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak ...@@ -99,9 +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 $ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make test
$ cd test
$ sh run_tests.sh
``` ```
## Fedora/CentOS ## Fedora/CentOS
...@@ -191,9 +189,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak ...@@ -191,9 +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 $ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make test
$ cd test
$ sh run_tests.sh
``` ```
## Linux with self-built deps ## Linux with self-built deps
...@@ -331,9 +327,7 @@ Examples link brpc statically, if you need to link the shared version, use `cmak ...@@ -331,9 +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 $ mkdir bld && cd bld && cmake -DBUILD_UNIT_TESTS=ON .. && make test
$ cd test
$ sh run_tests.sh
``` ```
# 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