Andrej Mitrovic wrote:
On 10/3/12, Piotr Szturmaj <bncr...@jadamspam.pl> wrote:
4. run MinGW and cd to /x/dmd/src/dmd/test

What do you mean run MinGW and cd? It's a compiler not a shell..

Yes, I meant MinGW shell (MSYS). It appears as "MinGW Shell" in my start menu.

5. make DMD=/x/dmd/windows/bin/dmd

I have a feeling you're talking about using msys, GNU's make won't run
this makefile from the command-line, neither would mingw32-make
(errors with: ! was unexpected at this time).

I wrote "GNU makefile" because of that: http://web.archiveorange.com/archive/v/GZgCCznbXZWfIrdzVIfB

Anyway my "MinGW Shell" is able to run that makefile and all the tests.

Honestly tests shouldn't need any special shells on win32. If the
makefile uses d_do_test.d to run the tests then the makefile itself
can be a D script.

Agreed. Few days ago I was trying to figure this out too, and found the way described in my prev post. This should be posted somewhere in the wiki, as I figured this out only after reading the above link, after googling for a quite long time...

Reply via email to