File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,6 +226,13 @@ alias autoTesterBuild = makeDep!((builder, dep) {
226226
227227 version (Posix )
228228 dep.deps ~= runCxxUnittest;
229+
230+ // unittests are currently not executed as part of `auto-tester-test` on windows
231+ // because changes to `win32.mak` require additional changes on the autotester
232+ // (see https://github.com/dlang/dmd/pull/7414).
233+ // This requires no further actions and avoids building druntime+phobos on unittest failure
234+ version (Windows )
235+ dep.deps ~= runDmdUnittest;
229236});
230237
231238// / Returns: the dependency that builds the lexer object file
Original file line number Diff line number Diff line change @@ -194,8 +194,11 @@ RUN_BUILD=$(GEN)\build.exe --called-from-make "OS=$(OS)" "BUILD=$(BUILD)" "MODEL
194194
195195defaulttarget : $G debdmd
196196
197+ # FIXME: Windows test suite uses src/dmd.exe instead of $(GENERATED)/dmd.exe
198+ # FIXME: DDEBUG needs to be overidden to exclude unittests from dmd.exe
199+ # (They are compiled in a seperate executable for build.d's unittest target)
197200auto-tester-build : $(GEN ) \build.exe
198- $(RUN_BUILD ) " DDEBUG=" " ENABLE_RELEASE=1 " $@
201+ $(RUN_BUILD ) " DDEBUG=" $@
199202 copy $(TARGETEXE ) .
200203
201204dmd : $G reldmd
You can’t perform that action at this time.
0 commit comments