提交 481c19ac 作者: Juan Batiz-Benet

sharness: note in makefile describing TEST_VERBOSE

上级 3510a827
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# MIT Licensed; see the LICENSE file in this repository. # MIT Licensed; see the LICENSE file in this repository.
# #
# NOTE: run with TEST_VERBOSE=1 for verbose sharness tests.
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)) T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
SHARNESS = lib/sharness/sharness.sh SHARNESS = lib/sharness/sharness.sh
RANDOMSRC = Godeps/_workspace/src/github.com/jbenet/go-random/random RANDOMSRC = Godeps/_workspace/src/github.com/jbenet/go-random/random
......
...@@ -3,6 +3,19 @@ ...@@ -3,6 +3,19 @@
## Running all the tests ## Running all the tests
Just use `make` in this directory to run all the tests. Just use `make` in this directory to run all the tests.
Run with `TEST_VERBOSE=1` to get helpful verbose output.
```
TEST_VERBOSE=1 make
```
The usual ipfs env flags also apply:
```sh
# the output will make your eyes bleed
IPFS_LOGGING=debug TEST_VERBOSE=1 make
```
## Running just one test ## Running just one test
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论