D-Programming-Language/dmd — pull request #1322 by rainers (2012-11-24 17:17:04+00:00)
Title: d_do_test: keep test build files until the test succeeds

So far, the test executable is deleted after running the test, so you have a hard time to rebuild it with the same options from the command line.

This patch only deletes intermediate results and the executable if the test succeeds. This allows investigating the failure and firing up the executable in the debugger.

In addition two more files that are generated during a win64 build are deleted.