www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Run dmd tests

reply Benjamin Thaut <code benjamin-thaut.de> writes:

I think I succeeded in fixing 
http://d.puremagic.com/issues/show_bug.cgi?id=9495 but now I would like 
to run all dmd tests to confirm that I didn't break anything. Running 
druntime and phobos unittests is not that hard, but I can't make any 
sense of the dmd tests.
What is the best way to run all of them? (On Windows, I have Cygwin if 

Kind Regards
Benjamin Thaut
Feb 12 2013
parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 2/12/13, Benjamin Thaut <code benjamin-thaut.de> wrote:
 What is the best way to run all of them?

Open Msys or Cygwin to the DMD test subfolder and run: make DMD=/c/path/to/dmd2/windows/bin/dmd Changing the path accordingly. However if you have a slow machine you can just let the autotester do its thing after you make a pull request, it will test automatically. You may also want to read this guide: http://wiki.dlang.org/Using_Git_on_Windows That's my workflow with Console2 and Msys.
Feb 12 2013