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