ldmd2 isn't built for ldc 1.8.0-beta1
Thomas Mader
thomas.mader at gmail.com
Mon Feb 26 19:20:42 UTC 2018
On Monday, 26 February 2018 at 18:31:29 UTC, kinke wrote:
> Those druntime standalone tests have been introduced in v1.8.
> They use the same ldmd2 executable as dmd-testsuite, i.e., not
> the one in the installation dir, but the one in the build dir.
> See runtime/StandaloneDRuntimeTests.cmake.
> All other tests use the ldc2 executable (in the build dir).
Ok this is the problem. I need to run the druntime and phobos
tests independently from the main build and the other tests and
this way the ldmd2 binary isn't produced.
Any way to work around that?
In the second stage I am doing this:
make -j$NIX_BUILD_CORES DMD=${ldcBuild.out}/bin/ldc2
druntime-test-runner druntime-test-runner-debug
phobos2-test-runner phobos2-test-runner-debug
ctest -j$NIX_BUILD_CORES --output-on-failure -E
\"dmd-testsuite|lit-tests|ldc2-unittest\"
For completeness, here are the checks I am doing in the first
stage which should include all other tests:
# Build and run LDC D unittests.
ctest --output-on-failure -R "ldc2-unittest"
# Run LIT testsuite.
ctest -V -R "lit-tests"
# Run DMD testsuite.
DMD_TESTSUITE_MAKE_ARGS=-j$NIX_BUILD_CORES ctest -V -R
"dmd-testsuite"
More information about the digitalmars-d-ldc
mailing list