ldmd2 isn't built for ldc 1.8.0-beta1
kinke
noone at nowhere.com
Mon Feb 26 21:08:43 UTC 2018
On Monday, 26 February 2018 at 19:20:42 UTC, Thomas Mader wrote:
> 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"
Well then try moving the druntime standalone tests to the first
stage by adjusting the regex - something like `ctest -R
"^druntime-test-"` as extra step in the first stage and excluding
it via `ctest -E "...|^druntime-test-"` in the 2nd.
More information about the digitalmars-d-ldc
mailing list