From 481c19ac2303cd1f85343ec2cc88e3978a91d787 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Sun, 4 Jan 2015 22:29:35 -0800 Subject: [PATCH] sharness: note in makefile describing TEST_VERBOSE --- test/Makefile | 2 ++ test/README.md | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/test/Makefile b/test/Makefile index 100401f03..4a62d6e1a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -4,6 +4,8 @@ # 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)) SHARNESS = lib/sharness/sharness.sh RANDOMSRC = Godeps/_workspace/src/github.com/jbenet/go-random/random diff --git a/test/README.md b/test/README.md index 8f793da45..92cdb5259 100644 --- a/test/README.md +++ b/test/README.md @@ -3,6 +3,19 @@ ## Running 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