Bug 11414 – druntime should run debug unittest

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-01T15:45:00Z
Last change time
2015-10-04T18:19:53Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2013-11-01T15:45:49Z
This requires some bigger refactorings of druntime's makefile. It should be structured more like phobos's makefile and recursively invoke debug and release unittests.
Comment #1 by issues.dlang — 2015-07-09T03:47:22Z
*** Issue 14773 has been marked as a duplicate of this issue. ***
Comment #2 by issues.dlang — 2015-07-09T03:50:28Z
From some of the testing that I did recently when trying to debug an issue, I found issue# 14774 and issue# 14775, which appear to be blocking this - at least, on my system (FreeBSD 10, 64-bit), those tests always fail when I built druntime without -release, so I would expect them to have to be fixed before running the druntime unit tests without -release will work.
Comment #3 by issues.dlang — 2015-07-09T03:59:45Z
Ah, those were already fixed in https://github.com/D-Programming-Language/druntime/pull/1273 which was merged less than a day ago. So, I guess that my finding those issues was just bad timing.
Comment #4 by github-bugzilla — 2015-07-09T23:49:05Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/3399e4b0d035fa060e777115c8f88afe566c929e adapt druntime paths for fix to Issue 11414 https://github.com/D-Programming-Language/phobos/commit/255070aac0c9c0d774aa7b65cb07e357263bc608 Merge pull request #3478 from MartinNowak/fix11414 adapt druntime paths for fix to Issue 11414
Comment #5 by github-bugzilla — 2015-07-09T23:49:14Z
Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/5c69814cb650f27621248dbd5eee2096b1be6dfa fix Issue 11414 - druntime should run debug unittest - change druntime's makefile structure to match phobos - define ROOT folder as generated/$(OS)/$(BUILD)/$(MODEL) - unittest rule recursively invokes debug/release unittest - factor out common.mak from test/*/Makefile and test debug/release https://github.com/D-Programming-Language/druntime/commit/826dfd6dc47beb7897137aecdba89e683e34f0a3 Merge pull request #1317 from MartinNowak/fix11414 fix Issue 11414 - druntime should run debug unittest
Comment #6 by issues.dlang — 2015-07-10T01:02:03Z
It looks like the FreeBSD shared library code is going to need some work before we can enable the debug unit test build: https://github.com/D-Programming-Language/druntime/pull/1322
Comment #7 by github-bugzilla — 2015-10-04T18:18:54Z
Comment #8 by github-bugzilla — 2015-10-04T18:19:53Z