August 06, 2020
https://issues.dlang.org/show_bug.cgi?id=21126

          Issue ID: 21126
           Summary: d_do_test should be built with bootstrap compiler, not
                    compiler being tested
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: bugzilla@digitalmars.com

Because otherwise the tests designed to flush out bugs in the compiler being tested cannot be run. Note how the testing stops dead because of this in this log file:

------------
/home/braddr/sandbox/at-client/pull-4135587-Linux_64_64/dmd/generated/linux/release/64/dmd
-conf= -m64 -fPIC -g -lowmem -i -Itools -version=NoMain -odgenerated
-ofgenerated/d_do_test tools/d_do_test.d
Makefile:213: recipe for target 'generated/d_do_test' failed
make[1]: *** [generated/d_do_test] Segmentation fault (core dumped)
------------

--