[Issue 5587] Use __LINE__ to pick number in unittest block names
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 5 19:46:36 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5587
--- Comment #12 from github-bugzilla at puremagic.com 2012-09-05 19:47:04 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/8f478ace129b50844aed91b5be82a78238cbb1dc
Bug 5587: Give unit test name by __LINE__.
This commit appends 'Lxx' to the unittest's mangled name. The user can get the
line number from the traceback:
5 x 0x000091c5 onAssertErrorMsg + 73
6 x 0x00009206 onUnittestErrorMsg + 26
7 x 0x00013199 _d_unittestm + 45
8 x 0x000019d7 void x.__unittest_fail(int) + 27
9 x 0x00001a0a void x.__unittestL13_1() + 46
^^^ line 13
https://github.com/D-Programming-Language/dmd/commit/d3669f79813ba314768daf43eb1bfa90dac4c4a1
Merge pull request #264 from kennytm/bug5587_unittestWithLine
Bug 5587: Give unit test name by __LINE__.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list