Skip to content

Commit 8d95ca8

Browse files
committed
report from an environment variable
1 parent ee22e18 commit 8d95ca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runner/importer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
'call_reporter. remove them from %s (or its submodules) or use'+\
3939
'"_acme_silence = False" before "exec(acme_submodulator)" in your __init__.py'
4040

41+
import os
4142
from acme import read_config,get_path_to_module
4243

4344
def get_extras(extensions):
@@ -83,7 +84,7 @@ def get_extras(extensions):
8384
str_types = [str] if (sys.version_info>(3,0)) else [str,unicode]
8485

8586
#---settings
86-
verbose = False
87+
verbose = os.environ.get('AMX_REPORT',False) not in [0,'False',False]
8788
event_log = {}
8889
verbose_pedantic = False
8990
protected_signals = ['_not_all','_not_reported']

0 commit comments

Comments
 (0)