Walter Bright wrote:
Christopher Wright wrote:
Awesome! I'll add this to wiki4d. Might I also suggest adding it to
some reasonable location on digitalmars.com and bugzilla?
I think the wiki is the best place.
What do you do about examples that should explicitly not compile? For
example, a test for the fix to an accepts-invalid bug? Do you have to
use tricks with __traits(compiles) and static assert (!is (typeof))?
I'd eventually like to go that route, but currently it is a long list of
files that are compiled one by one and tested to see if the compilation
return a non-zero exit status.
Now that you're more used to *nix, would it be productive to have all of
the test harness on *nix?
It would make it immensely easier to, say, have it made so that both "do
not compile" and the opposite, merge smoothly in the whole.