mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Remove separate @betterC tests
This commit is contained in:
parent
6a15dfbe18
commit
c7aeb240d0
2 changed files with 1 additions and 17 deletions
14
posix.mak
14
posix.mak
|
@ -635,7 +635,7 @@ publictests: $(addsuffix .publictests,$(D_MODULES))
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
betterc-phobos-tests: $(addsuffix .betterc,$(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
|
%.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)
|
@# 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)
|
--inputdir $< --outputdir $(BETTERCTESTS_DIR)
|
||||||
@$(DMD) $(DFLAGS) $(NODEFAULTLIB) -betterC $(UDFLAGS) -run $(BETTERCTESTS_DIR)/$(subst /,_,$<)
|
@$(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
|
.PHONY : auto-tester-build
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
extern(C) void main() {
|
|
||||||
import std.algorithm, std.range;
|
|
||||||
assert(100.iota.stride(2).take(10).sum == 90);
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue