[dmd-internals] [D-Programming-Language/dmd] a1e42a: Add a new DISABLED option for tests
GitHub
noreply at github.com
Fri May 11 18:56:39 PDT 2012
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: a1e42aa8cb31cd218d98c5685d8848de264ddf51
https://github.com/D-Programming-Language/dmd/commit/a1e42aa8cb31cd218d98c5685d8848de264ddf51
Author: Leandro Lucarella <leandro.lucarella at sociomantic.com>
Date: 2012-05-09 (Wed, 09 May 2012)
Changed paths:
M test/Makefile
M test/d_do_test.d
Log Message:
-----------
Add a new DISABLED option for tests
Sometimes is useful to be able to add tests even when they don't pass.
Being able to do so, makes life easier for people wanting to fix the bug
(they have the test right there) and ensures people don't forget to add
test cases just because it would break the auto-tester.
Now tests can have a DISABLED option which should have a reason why the
test was disabled. For example:
// DISABLED: bug 123 is still not fixed
When a test is disabled, a special message is printed, for example:
!!! runnable/bug123.d () [DISABLED: bug 123 is still not fixed]
Commit: a360038e7f09f07052dfd725d4729e6b42adb351
https://github.com/D-Programming-Language/dmd/commit/a360038e7f09f07052dfd725d4729e6b42adb351
Author: Leandro Lucarella <leandro.lucarella at sociomantic.com>
Date: 2012-05-11 (Fri, 11 May 2012)
Changed paths:
M test/d_do_test.d
Log Message:
-----------
Execute DISABLED test cases and report if they pass
This patch exectute the DISABLED test cases but silently ignore them if
they fail. OTOH, if they succeed, a message is printed so is easy to
spot outdated test cases that used to fail and now passes so they can be
re-enabled.
Commit: c4c0bf3f4c7aeca021e58d7ef5eaa601b1e5f1f4
https://github.com/D-Programming-Language/dmd/commit/c4c0bf3f4c7aeca021e58d7ef5eaa601b1e5f1f4
Author: Walter Bright <walter at walterbright.com>
Date: 2012-05-11 (Fri, 11 May 2012)
Changed paths:
M test/Makefile
M test/d_do_test.d
Log Message:
-----------
Merge pull request #936 from llucax/disabled-tests
Add a new DISABLED option for tests
Compare: https://github.com/D-Programming-Language/dmd/compare/eb00878...c4c0bf3
More information about the dmd-internals
mailing list