Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Unittest for Linux workflow #2016

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update getting_started.md
guodongxiaren authored Nov 24, 2022
commit 0bb3bbad41bc94f9de9c0bd64938631064d4c128
2 changes: 1 addition & 1 deletion docs/cn/getting_started.md
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ sudo apt-get install -y libgoogle-perftools-dev

如果你要运行测试,那么要安装并编译libgtest-dev(它没有被默认编译):
```shell
sudo apt-get install -y cmake libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
sudo apt-get install -y cmake libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv lib/libgtest* /usr/lib/ && cd -
```
gtest源码目录可能变动,如果`/usr/src/gtest`不存在,请尝试`/usr/src/googletest/googletest`。