@cryptotaxi247 / kubo / commits / 481c19ac2

sharness: note in makefile describing TEST_VERBOSE

Juan Batiz-Benet committed Jan 4, 2015 at 22:29 UTC 481c19ac2303cd1f85343ec2cc88e3978a91d787
2 files changed +15
test/Makefile
+2
@@ -4,6 +4,8 @@
4 # MIT Licensed; see the LICENSE file in this repository.
5 #
6
7 +# NOTE: run with TEST_VERBOSE=1 for verbose sharness tests.
8 +
9 T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
10 SHARNESS = lib/sharness/sharness.sh
11 RANDOMSRC = Godeps/_workspace/src/github.com/jbenet/go-random/random
test/README.md
+13
@@ -3,6 +3,19 @@
3 ## Running all the tests
4
5 Just use `make` in this directory to run all the tests.
6 +Run with `TEST_VERBOSE=1` to get helpful verbose output.
7 +
8 +```
9 +TEST_VERBOSE=1 make
10 +```
11 +
12 +The usual ipfs env flags also apply:
13 +
14 +```sh
15 +# the output will make your eyes bleed
16 +IPFS_LOGGING=debug TEST_VERBOSE=1 make
17 +```
18 +
19
20 ## Running just one test
21