D-Programming-Language/dmd — pull request #1314 by rainers (2012-11-24 09:42:20+00:00)
Title: add REQUIRED_ARGS to d_do_test

This is a little improvement to d_do_test that allows the caller to pass arguments to the test engine that are always placed on the compilation command line similar to the setting within the file itself. This has a number of use cases:

* pass "-g" to enable debug info generation for simpler investigation why a test is failing
* pass "-g -o -inline" for the "quick" run for a better code coverage without going through the full test machinery.
* pass "-unittest" to enable the asserts in release builds (otherwise only crashes will cause failures in a lot of tests)