On Sunday, 1 December 2019 at 15:20:42 UTC, Per Nordlöw wrote:
Is it possible to compile and run unittest of dmd without druntime and phobos?

If so, how?

I'm trying the following under dmd root:

    make -C src -f posix.mak unittest
    ./generated/linux/release/64/dmd-unittest

but that doesn't compile my file of interest

test/compilable/traits.d

.

How can I make sure that all the files under /test/compilable compiles?

The command you need is "make -Ctest". Or you can run a specific test manually using run.d.
```
cd test/
./run.d compilable/traits.d
```

Reply via email to