diff --git a/basis/tools/test/test.factor b/basis/tools/test/test.factor index 2692c5a8b6..e8f325bb9d 100644 --- a/basis/tools/test/test.factor +++ b/basis/tools/test/test.factor @@ -79,8 +79,12 @@ MACRO: ( word -- ) [ name>> experiment-title ] bi '[ _ ndup _ narray _ prefix ] ; +SYMBOL: verbose-tests? +t verbose-tests? set-global + : experiment. ( seq -- ) - [ first write ": " write ] [ rest . flush ] bi ; + [ first write ": " write ] + [ rest verbose-tests? get [ . ] [ short. ] if flush ] bi ; :: experiment ( word: ( -- error ? ) line# -- ) word :> e