Skip to content

Commit 72f3f57

Browse files
committed
WIP
1 parent e087a3e commit 72f3f57

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ test-with-database: node_modules setup-database
269269
test-unit-and-integration: node_modules
270270
export GLOBIGNORE="$(GLOBIGNORE)";\
271271
export DEVEL_COVER_DB_FORMAT=JSON;\
272-
export PERL5OPT="$(COVEROPT)$(PERL5OPT) -It/lib -I$(PWD)/t/lib -I$(PWD)/external/os-autoinst-common/lib -MTest::CheckGitStatus -MOpenQA::Test::PatchDeparse";\
272+
export PERL5OPT="$(COVEROPT)$(PERL5OPT) -It/lib -I$(PWD)/t/lib -I$(PWD)/external/os-autoinst-common/lib $(CHECK_GIT_STATUS_OPT) -MOpenQA::Test::PatchDeparse";\
273273
RETRY=${RETRY} HOOK=./tools/delete-coverdb-folder timeout -s SIGINT -k 5 -v ${TIMEOUT_RETRIES} tools/retry "${PROVE}" ${PROVE_LIB_ARGS} ${PROVE_ARGS}
274274

275275
.PHONY: setup-database
@@ -299,6 +299,10 @@ COVERDB_SUFFIX ?=
299299
COVEROPT ?= -mJSON::PP -It/lib -MCoverageWorkaround -MDevel::Cover=-select_re,'^/lib',+ignore_re,lib/perlcritic/Perl/Critic/Policy|t/lib/CoverageWorkaround,-coverage,statement,-db,cover_db$(COVERDB_SUFFIX),
300300
endif
301301

302+
ifeq ($(CHECK_GIT_STATUS),1)
303+
CHECK_GIT_STATUS_OPT ?= -MTest::CheckGitStatus
304+
endif
305+
302306
.PHONY: coverage
303307
coverage:
304308
export DEVEL_COVER_DB_FORMAT=JSON;\

0 commit comments

Comments
 (0)