Commit 0915a99
committed
Deduplicate warnings&errors found in logs and add initial newline in output
It isn't useful to report duplicate errors multiple times. And e.g.
configure may report a wrong option at the start and end.
Hence deduplicate it.
Also change the logged warning/error to include a newline & tab in front
of each element which makes it nicer to read. E.g.:
> build failed (first 300 chars): Found 1 error(s) in command output:
> configure: WARNING: unrecognized options: --with-foo, --with-bar (took 2 mins 39 secs)1 parent 2dc4707 commit 0915a99
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
| 793 | + | |
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
808 | | - | |
| 808 | + | |
809 | 809 | | |
810 | 810 | | |
811 | | - | |
| 811 | + | |
812 | 812 | | |
0 commit comments