Add makefile target for testing with no autodecode. This is so CI can

run a valid target without failing.
This commit is contained in:
Steven Schveighoffer 2020-08-08 00:24:05 -04:00 committed by The Dlang Bot
parent 598e55e4c6
commit d38ba1e51f

View file

@ -150,6 +150,10 @@ ifdef ENABLE_COVERAGE
override DFLAGS += -cov
endif
ifdef NO_AUTODECODE
override DFLAGS += -version=NoAutodecodeStrings
endif
UDFLAGS=-unittest -version=StdUnittest
# Set DOTOBJ and DOTEXE
@ -235,6 +239,10 @@ PACKAGE_std_windows = charset registry syserror
# Modules in std (including those in packages)
STD_MODULES=$(call P2MODULES,$(STD_PACKAGES))
# NoAutodecode test modules.
# List all modules whose unittests are known to work without autodecode enabled.
NO_AUTODECODE_MODULES=
# Other D modules that aren't under std/
EXTRA_MODULES_COMMON := $(addprefix etc/c/,curl odbc/sql odbc/sqlext \
odbc/sqltypes odbc/sqlucode sqlite3 zlib)
@ -677,4 +685,7 @@ endif
.PHONY: buildkite-test
buildkite-test: unittest betterc
.PHONY: autodecode-test
autodecode-test: $(addsuffix .test,$(NO_AUTODECODE_MODULES))
.DELETE_ON_ERROR: # GNU Make directive (delete output files on error)