Skip to content

Commit 4969152

Browse files
[CONFIG] refactoring fetch-test-reporter into submodule (- WIP PR #82 -)
1 parent 61117e1 commit 4969152

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "fetch-test-reporter"]
2+
path = includes/fetch-test-reporter
3+
url = https://gist.github.com/c718380a1747d43dda1519167fc50ac0.git
4+
ignore = dirty

Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,8 @@ endif
107107
# Define environment-specific flags
108108
ifeq ($(shell uname -s), Darwin)
109109
PIP_ENV_FLAGS := --break-system-packages
110-
else ifeq ($(shell uname -s), Linux)
111-
PIP_ENV_FLAGS :=
112110
else
113111
PIP_ENV_FLAGS :=
114-
FETCH_CC_TOOL := :
115-
CC_TOOL := :
116-
CC_TOOL_ARGS :=
117-
DS_TOOL := :
118-
DS_TOOL_ARGS :=
119112
endif
120113

121114
ifeq "$(WAIT)" ""
@@ -155,6 +148,8 @@ ifeq "$(RMDIR)" ""
155148
RMDIR=$(RM)Rd
156149
endif
157150

151+
include includes/fetch-test-reporter/tools-fetch-test-reporter.make
152+
158153
.PHONY: all clean test cleanup init help clean-docs must_be_root must_have_flake must_have_pytest uninstall cleanup-dev-backups
159154

160155

@@ -260,7 +255,7 @@ test-style: cleanup
260255
$(QUIET)tests/check_spelling 2>/dev/null || true
261256
$(QUIET)$(ECHO) "$@: Done."
262257

263-
cc-test-reporter: tests/fetch-test-reporter
258+
cc-test-reporter: $(FETCH_CC_TOOL)
264259
$(QUIET)$(FETCH_CC_TOOL) || DO_FAIL="exit 2" ;
265260
$(QUIET)$(WAIT) ;
266261
$(QUIET)$(DO_FAIL) ;

0 commit comments

Comments
 (0)