From 74e8166863bc390483d75bf2edaacec53a0b993d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 17 Dec 2016 17:26:57 +0200 Subject: Add feature: Save diff output for {stdout,stderr}.diff --- build2/test/testscript/list | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build2/test/testscript/list b/build2/test/testscript/list index cdf409a..f25ccf2 100644 --- a/build2/test/testscript/list +++ b/build2/test/testscript/list @@ -1,3 +1,13 @@ ! Parallel -V output has some mixing [bug karen] Need to audit that all diagnostics is issued atomically via diag_record. + +- Save diff output for {stdout,stderr}.diff [feature karen] + + Now we have diff output first, then the error. This often messes up emacs + error navigation. Also, not atomic. + + So instead we should save the output to a .diff file (could be useful for + later examination), print the error (including an info line with where is + the diff), and then (a fragment of) the diff. Theoretically, the .diff + can be large, so probably makes sense to limit it to a few KB? -- cgit v1.1