Unverified Commit 71af31e4 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #795 from zyearn/improve_cmake_test

improve the way of running ut in cmake
parents 54c28a33 30b64f9f
......@@ -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 && 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 && 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 && 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