Skip to content

Commit

Permalink
Fix Issue 16984 - Remove runnable blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Oct 5, 2017
1 parent 5a20f69 commit d661120
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions posix.mak
Expand Up @@ -264,15 +264,6 @@ MAKEFILE = $(firstword $(MAKEFILE_LIST))
# build with shared library support (defaults to true on supported platforms)
SHARED=$(if $(findstring $(OS),linux freebsd),1,)

# Check for missing imports in public unittest examples.
# A blacklist of ignored module is provided as not all public unittest in
# Phobos are independently runnable yet
IGNORED_PUBLICTESTS= $(addprefix std/, \
$(addprefix experimental/allocator/, \
building_blocks/free_list building_blocks/quantizer \
) \
math stdio traits)
PUBLICTESTS= $(addsuffix .publictests,$(filter-out $(IGNORED_PUBLICTESTS), $(D_MODULES)))
TESTS_EXTRACTOR=$(ROOT)/tests_extractor
PUBLICTESTS_DIR=$(ROOT)/publictests

Expand Down Expand Up @@ -593,7 +584,7 @@ style_lint: dscanner $(LIB)
################################################################################
# Check for missing imports in public unittest examples.
################################################################################
publictests: $(PUBLICTESTS)
publictests: $(addsuffix .publictests,$(D_MODULES))

$(TESTS_EXTRACTOR): $(TOOLS_DIR)/tests_extractor.d | $(LIB)
DFLAGS="$(DFLAGS) $(LIB) -defaultlib= -debuglib= $(LINKDL)" $(DUB) build --force --compiler=$${PWD}/$(DMD) --single $<
Expand Down

0 comments on commit d661120

Please sign in to comment.