Thread overview
Don't Understand why Phobos Auto-Tester fails for PR #3606
Jun 07, 2014
Nordlöw
Jun 07, 2014
Jonathan M Davis
Jun 07, 2014
Dicebot
Jun 07, 2014
Kenji Hara
Jun 08, 2014
Nordlöw
June 07, 2014
My recent

https://github.com/D-Programming-Language/dmd/pull/3606

fails in all the Auto-Testers but I don't understand why.

Running make unittest locally in phobos using my locally built branch of dmd passes all tests.

Please help!
June 07, 2014
On Sat, 07 Jun 2014 08:56:37 +0000
"Nordlöw" via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com>
wrote:

> My recent
>
> https://github.com/D-Programming-Language/dmd/pull/3606
>
> fails in all the Auto-Testers but I don't understand why.
>
> Running make unittest locally in phobos using my locally built branch of dmd passes all tests.

The first thing that I would check would be to make sure that you're using the latest code for dmd, druntime, and phobos. If you're missing an update for any of them, then you could get different results.

Also, you're probably going to need to use DMD= to set dmd to the one that you built in order to use the one that you built when building druntime and Phobos instead of the one you installed normally and is in your PATH. e.g. on my box, it would be something like

DMD=../dmd/src/dmd make -f posix.make MODEL=64

So, if you weren't aware of needing to do that, then that would easily explain why you're seeing different results. But if you are doing that, and everything is up-to-date, then I don't know what could be going wrong. Based on the error, my guess would be that it's a compiler problem (and thus probably that you're not testing with your updated compiler), but I don't know.

- Jonathan M Davis

June 07, 2014
On Saturday, 7 June 2014 at 09:19:55 UTC, Jonathan M Davis via Digitalmars-d-learn wrote:
> Also, you're probably going to need to use DMD= to set dmd to the one that you
> built in order to use the one that you built when building druntime and Phobos
> instead of the one you installed normally and is in your PATH. e.g. on my box,
> it would be something like
>
> DMD=../dmd/src/dmd make -f posix.make MODEL=64

It is not needed anymore, all D-Programming-Language makefiles use ../<projname> as default dmd/druntime/phobos.
June 07, 2014
On Saturday, 7 June 2014 at 08:56:38 UTC, Nordlöw wrote:
> My recent
>
> https://github.com/D-Programming-Language/dmd/pull/3606
>
> fails in all the Auto-Testers but I don't understand why.
>
> Running make unittest locally in phobos using my locally built branch of dmd passes all tests.
>
> Please help!

I commented in github.

Kenji Hara
June 08, 2014
> I commented in github.

Thx!