Dustmiting a dmft assert

Vladimir Panteleev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 30 02:16:21 PDT 2016


On Wednesday, 30 March 2016 at 09:06:20 UTC, Nicholas Wilson 
wrote:
> object.Exception at dustmite.d(244): Initial test fails

Works for me:

$ cat src/test.d
import std.stdio;

void main()
{
	writeln("foo");
	writeln("bar");
}

$ dustmite src "cat test.d 2>&1 | grep -qF foo && dmd -c test.d"
[...]
Done in 31 tests and 443 ms; reduced version is in src.reduced

$ cat src.reduced/test.d
import std.stdio;

void main()
{
	writeln("foo");
}

I guess make sure the dmd command succeeds on the initial file.


More information about the Digitalmars-d-learn mailing list