mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 07:12:28 +00:00
Make QTEST_COLOR=1 force qtest to print in color
This commit is contained in:
parent
1bcd8c1649
commit
30df7c886c
@ -48,12 +48,18 @@ else
|
||||
depflags=
|
||||
endif
|
||||
|
||||
ifeq ($(QTEST_COLOR),1)
|
||||
QTEST_ARGS := -stdout-tty=1
|
||||
else
|
||||
QTEST_ARGS :=
|
||||
endif
|
||||
|
||||
# Usage: $(call run_qtest,dir)
|
||||
define run_qtest
|
||||
@echo running qtest-driver for $(1)
|
||||
@(cd $(1)/$(OUTPUT_DIR); \
|
||||
if TC_SRCS="$(foreach T,$(TC_SRCS_$(1)),../../$(T))" \
|
||||
$(QTEST) -bindirs .:..:../../qpdf/$(OUTPUT_DIR) \
|
||||
$(QTEST) $(QTEST_ARGS) -bindirs .:..:../../qpdf/$(OUTPUT_DIR) \
|
||||
-datadir ../qtest -covdir .. \
|
||||
-junit-suffix `basename $(1)`; then \
|
||||
true; \
|
||||
|
Loading…
Reference in New Issue
Block a user