mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Add makefile target for testing with no autodecode. This is so CI can
run a valid target without failing.
This commit is contained in:
parent
598e55e4c6
commit
d38ba1e51f
1 changed files with 11 additions and 0 deletions
11
posix.mak
11
posix.mak
|
@ -150,6 +150,10 @@ ifdef ENABLE_COVERAGE
|
||||||
override DFLAGS += -cov
|
override DFLAGS += -cov
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef NO_AUTODECODE
|
||||||
|
override DFLAGS += -version=NoAutodecodeStrings
|
||||||
|
endif
|
||||||
|
|
||||||
UDFLAGS=-unittest -version=StdUnittest
|
UDFLAGS=-unittest -version=StdUnittest
|
||||||
|
|
||||||
# Set DOTOBJ and DOTEXE
|
# Set DOTOBJ and DOTEXE
|
||||||
|
@ -235,6 +239,10 @@ PACKAGE_std_windows = charset registry syserror
|
||||||
# Modules in std (including those in packages)
|
# Modules in std (including those in packages)
|
||||||
STD_MODULES=$(call P2MODULES,$(STD_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/
|
# Other D modules that aren't under std/
|
||||||
EXTRA_MODULES_COMMON := $(addprefix etc/c/,curl odbc/sql odbc/sqlext \
|
EXTRA_MODULES_COMMON := $(addprefix etc/c/,curl odbc/sql odbc/sqlext \
|
||||||
odbc/sqltypes odbc/sqlucode sqlite3 zlib)
|
odbc/sqltypes odbc/sqlucode sqlite3 zlib)
|
||||||
|
@ -677,4 +685,7 @@ endif
|
||||||
.PHONY: buildkite-test
|
.PHONY: buildkite-test
|
||||||
buildkite-test: unittest betterc
|
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)
|
.DELETE_ON_ERROR: # GNU Make directive (delete output files on error)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue