From e1e7a7acac6613728fc7bf32e7c891556d7fec22 Mon Sep 17 00:00:00 2001 From: SrMouraSilva Date: Wed, 6 Mar 2019 11:35:16 -0300 Subject: [PATCH] Issue #8 Move configs to nosetest .noserc file --- .noserc | 3 +++ makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.noserc b/.noserc index 0955f7b..fafd690 100755 --- a/.noserc +++ b/.noserc @@ -3,3 +3,6 @@ all-modules=True exe=True with-doctest=True exclude-dir=examples +with-coverage=True +cover-erase=True +cover-package=boltzmann_machines \ No newline at end of file diff --git a/makefile b/makefile index e645717..e3f0a77 100755 --- a/makefile +++ b/makefile @@ -3,7 +3,7 @@ THIS_FILE := $(lastword $(MAKEFILE_LIST)) test: @$(MAKE) -f $(THIS_FILE) clean - TF_CPP_MIN_LOG_LEVEL=3 nosetests --nologcapture --with-coverage --cover-erase --cover-package=boltzmann_machines --nologcapture + TF_CPP_MIN_LOG_LEVEL=3 nosetests --config .noserc --nologcapture @$(MAKE) -f $(THIS_FILE) clean clean: