File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ DRUNTIME_PATH = ../druntime
66PHOBOS_PATH = ../phobos
77DUB =dub
88
9+ RDMD_TEST_COMPILERS = $(abspath $(DMD ) )
10+
11+ VERBOSE_RDMD_TEST =0
12+
13+ ifeq ($(VERBOSE_RDMD_TEST ) , 1)
14+ override VERBOSE_RDMD_TEST_FLAGS:=-v
15+ endif
16+
917WITH_DOC = no
1018DOC = ../dlang.org
1119
@@ -110,7 +118,9 @@ test_tests_extractor: $(ROOT)/tests_extractor
110118 $< -i ./test/tests_extractor/iteration.d | diff - ./test/tests_extractor/iteration.d.ext
111119
112120test_rdmd : $(ROOT ) /rdmd_test $(ROOT ) /rdmd
113- $< --compiler=$(abspath $(DMD ) ) -m$(MODEL )
121+ $< --compiler=$(abspath $(DMD ) ) -m$(MODEL ) \
122+ --test-compilers=$(RDMD_TEST_COMPILERS ) \
123+ $(VERBOSE_RDMD_TEST_FLAGS )
114124 $(DMD ) $(DFLAGS ) -unittest -main -run rdmd.d
115125
116126test : test_tests_extractor test_rdmd
Original file line number Diff line number Diff line change 22
33set -uexo pipefail
44
5- make -f posix.mak all DMD=" $( which $DMD ) "
6- make -f posix.mak test DMD=" $( which $DMD ) "
5+ ~ /dlang/install.sh install ldc
6+
7+ ~ /dlang/install.sh list
8+
9+ LDMD2=$( find ~ /dlang -type f -name " ldmd2" )
10+
11+ make -f posix.mak all DMD=$( which dmd)
12+ make -f posix.mak test DMD=$( which dmd) \
13+ RDMD_TEST_COMPILERS=dmd,$LDMD2 \
14+ VERBOSE_RDMD_TEST=1
You can’t perform that action at this time.
0 commit comments