Skip to content

Commit 9a342b9

Browse files
build.d: Add unittest to auto-tester-build
1 parent 07a69c5 commit 9a342b9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/build.d

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ alias autoTesterBuild = makeDep!((builder, dep) {
226226

227227
version (Posix)
228228
dep.deps ~= runCxxUnittest;
229+
230+
// unittests are currently not executed for auto-tester-test on windows and
231+
// adding them requires more changes (see https://github.com/dlang/dmd/pull/7414).
232+
// This requires no further actions and avoids building druntime+phobos on unittest failure
233+
version (Windows)
234+
dep.deps ~= runDmdUnittest;
229235
});
230236

231237
/// Returns: the dependency that builds the lexer object file

0 commit comments

Comments
 (0)