[Issue 18413] Document how to setup/run DMD test suite on WINDOWS
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 24 15:13:49 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18413
--- Comment #3 from Seb <greensunny12 at gmail.com> ---
BTW guys I just built the GNUmake exe via AppVeyor in case someone is looking
for this:
https://issues.dlang.org/show_bug.cgi?id=18658
https://github.com/dlang/installer/pull/311
https://ci.appveyor.com/project/greenify/installer-gqmr6/build/1.0.16/artifacts
So far my steps for reproducing everything under Wine:
---
wget http://downloads.dlang.org/releases/2.x/2.079.0/dmd-2.079.0.exe
wine dmd-2.079.0.exe
---
(install dmc too)
Then export these variables:
---
export DM_HOME=C:/D
export HOST_DC=dmd
export WINEPATH="C:\DMC\dm\bin\;C:\D\dmd2\windows\bin"
---
With this I can build everything under Wine:
---
cd dmd
wine make -f win32.mak
cd ../druntime
wine make -f win32.mak
cd ../phobos
wine make -f win32.mak
---
Now for the testsuite. Here are my attempts:
---
cd dmd/test
wget
https://ci.appveyor.com/api/buildjobs/twy5nix34sn0329n/artifacts/gmake-4.2.zip
unzip gmake-4.2.zip
wine make.exe
---
but that still fails:
---
...
CreateProcess(Z:\bin\bash,/bin/bash -c "echo \"Building d_do_test tool\"",...)
Putting child 001DA438 (test_results/d_do_test.exe) PID 1578448 on the chain.
Live child 001DA438 (test_results/d_do_test.exe) PID 1578448
Main thread handle = 00000040
make: *** WaitForMultipleObjects: No such file or directory. Stop.
make: *** Waiting for unfinished jobs....
Live child 001DA438 (test_results/d_do_test.exe) PID 1578448
make: *** WaitForMultipleObjects: No such file or directory. Stop.
---
I assume this is due to missing bash. Did either of you manage to install bash?
Last but not least, there's also:
https://github.com/braddr/at-client/blob/master/src/do_test_dmd.sh
I see cygpath there. So I maybe cygwin is needed to run DMD's testsuite?
--
More information about the Digitalmars-d-bugs
mailing list