summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-17 15:26:57 (GMT)
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-17 15:26:57 (GMT)
commit74e8166863bc390483d75bf2edaacec53a0b993d (patch)
treec205d8c60bb1cc5d759b47f36b5d5df1b3e78261
parenta82e23ddeaf42b9c2af3ad7009d55dec29832cde (diff)
Add feature: Save diff output for {stdout,stderr}.diff
-rw-r--r--build2/test/testscript/list10
1 files changed, 10 insertions, 0 deletions
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?