From 9a3d2cda07a36cf8fd5a8008ec6ec97da24ee319 Mon Sep 17 00:00:00 2001 From: Elvin Date: Wed, 12 Jul 2023 10:42:33 +0800 Subject: [PATCH] =?UTF-8?q?Update=20venus-daemon.md=20/=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=91=BD=E4=BB=A4=E5=92=8C=E6=B5=8B=E8=AF=95=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=B7=B2=E7=BB=8F=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit go run ./build test等命令已经过期失效。不再支持此类方法的构建。 --- docs/zh/operation/venus-daemon.md | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/docs/zh/operation/venus-daemon.md b/docs/zh/operation/venus-daemon.md index 82613e194..680edcef4 100644 --- a/docs/zh/operation/venus-daemon.md +++ b/docs/zh/operation/venus-daemon.md @@ -47,36 +47,10 @@ make 2. 运行单元测试: ```sh -go run ./build test +make test ``` -3. 或者可以将构建和测试结合起来: -```sh -go run ./build best -``` - -其他方便的构建命令包括: - -```sh -# Check the code for style and correctness issues -go run ./build lint - -# Run different categories of tests by toggling their flags -go run ./build test -unit=false -integration=true -functional=true - -# Test with a coverage report -go run ./build test -cover - -# Test with Go's race-condition instrumentation and warnings (see https://blog.golang.org/race-detector) -go run ./build test -race - -# Deps, Lint, Build, Test (any args will be passed to `test`) -go run ./build all -``` - -> **注意:** 传递给 `go run ./build test` 的任何标志 (例如 `-cover`) 都将传递给 `go test`。 - -**对于构建中的所有问题**, 请参阅 [故障排除](https://go.filecoin.io/venus-tutorial/Troubleshooting-&-FAQ.html) 文档内容。 +更多构建和测试命令请查看`Makefile`。 ## 开始运行 Filecoin