<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">My favourite way is (in the <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">testsuite/</code> directory) to <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">make accept</code> (usually <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">make TEST=<the tests I care about> accept</code>), then inspect the diff with <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">git diff</code> (well, I use magit, but same difference, or whatever your favourite git diff inspector is).</p>
<div title="MDH:TXkgZmF2b3VyaXRlIHdheSBpcyAoaW4gdGhlIGB0ZXN0c3VpdGUvYCBkaXJlY3RvcnkpIHRvIGBt
YWtlIGFjY2VwdGAgKHVzdWFsbHkgYG1ha2UgVEVTVD0mbHQ7dGhlIHRlc3RzIEkgY2FyZSBhYm91
dCZndDsgYWNjZXB0YCksIHRoZW4gaW5zcGVjdCB0aGUgZGlmZiB3aXRoIGBnaXQgZGlmZmAgKHdl
bGwsIEkgdXNlIG1hZ2l0LCBidXQgc2FtZSBkaWZmZXJlbmNlLCBvciB3aGF0ZXZlciB5b3VyIGZh
dm91cml0ZSBnaXQgZGlmZiBpbnNwZWN0b3IgaXMpLjxicj4=" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 20, 2018 at 10:34 PM Carter Schonwald <<a href="mailto:carter.schonwald@gmail.com">carter.schonwald@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">That doesn’t help when I want to look at the output for 50 failed tests ... is this a gap in our current tooling?</div></div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 20, 2018 at 2:40 PM Ben Gamari <<a href="mailto:ben@well-typed.com" target="_blank">ben@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On November 20, 2018 1:23:29 PM EST, Carter Schonwald <<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>> wrote:<br>
>Happy to:<br>
><br>
>What’s the best way to look at the Diffs / expected actual for 50 or so<br>
>tests? So I can better triage these things as important or not going<br>
>forward? For all I know it could be as simple as our passing diff<br>
>stuff is<br>
>white space significant. But I need some guidance on what files I<br>
>should<br>
>be looking at<br>
><br>
>I can’t find any docs on how to poke at / read those on the wiki. Alp<br>
>suggested just running a single test at a time, but that’s no ideal<br>
>when<br>
>it’s so many ...<br>
><br>
>I ran that ghc build with clang from llvm 7 on high Sierra and no<br>
>carter<br>
>patches.<br>
><br>
>I did cd testsuite ; make test THREADS=7<br>
><br>
You can add TEST="T1234 T5678" to the "make test" command line. This is documented here [1]. Does this help? <br>
<br>
Cheers, <br>
<br>
- Ben <br>
<br>
<br>
[1] <a href="https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#Commonlyusedoptions" rel="noreferrer" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#Commonlyusedoptions</a><br>
<br>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.<br>
</blockquote></div></div>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>