Remove separate @betterC tests

This commit is contained in:
Sebastian Wilzbach 2018-09-20 18:37:39 +02:00
parent 6a15dfbe18
commit c7aeb240d0
2 changed files with 1 additions and 17 deletions

View file

@ -635,7 +635,7 @@ publictests: $(addsuffix .publictests,$(D_MODULES))
################################################################################
betterc-phobos-tests: $(addsuffix .betterc,$(D_MODULES))
betterc: betterc-phobos-tests betterc-run-tests
betterc: betterc-phobos-tests
%.betterc: %.d | $(BETTERCTESTS_DIR)/.directory
@# Due to the FORCE rule on druntime, make will always try to rebuild Phobos (even as an order-only dependency)
@ -645,18 +645,6 @@ betterc: betterc-phobos-tests betterc-run-tests
--inputdir $< --outputdir $(BETTERCTESTS_DIR)
@$(DMD) $(DFLAGS) $(NODEFAULTLIB) -betterC $(UDFLAGS) -run $(BETTERCTESTS_DIR)/$(subst /,_,$<)
################################################################################
# Run separate -betterC tests
################################################################################
test/betterC/%.run: test/betterC/%.d $(DRUNTIME)
mkdir -p $(ROOT)/unittest/betterC
$(DMD) $(DFLAGS) -of$(ROOT)/unittest/betterC/$(notdir $(basename $<)) -betterC $(UDFLAGS) \
$(NODEFAULTLIB) $(LINKDL) $<
./$(ROOT)/unittest/betterC/$(notdir $(basename $<))
betterc-run-tests: $(subst .d,.run,$(wildcard test/betterC/*.d))
################################################################################
.PHONY : auto-tester-build

View file

@ -1,4 +0,0 @@
extern(C) void main() {
import std.algorithm, std.range;
assert(100.iota.stride(2).take(10).sum == 90);
}