Skip to content

Commit 659ce73

Browse files
build.d: Add unittest to auto-tester-build (on windows)
1 parent 662990e commit 659ce73

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/build.d

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)