Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | lmbench: Fix "make html" graph failure |
| 2 | |
| 3 | The html-list perl script cannot parse the first line of the result |
| 4 | files about the lmbench version. |
| 5 | |
| 6 | Additional fixes are to make the result's html pages easier to understand. |
| 7 | |
| 8 | Signed-off-by: Lin Yu <lin.yu@windriver.com> |
| 9 | Signed-off-by: Fupan Li <fupan.li@windriver.com> |
| 10 | |
| 11 | Reworded patch description. |
| 12 | |
| 13 | Upstream-status: inappropriate [ configuration ] |
| 14 | |
| 15 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
| 16 | |
| 17 | diff --git a/results/Makefile b/results/Makefile |
| 18 | index 0935376..1ef9a15 100644 |
| 19 | --- a/results/Makefile |
| 20 | +++ b/results/Makefile |
| 21 | @@ -186,6 +186,7 @@ paper: |
| 22 | # scratch makes you want a Ghz machine. |
| 23 | html: dirs |
| 24 | -make clean |
| 25 | + make ps |
| 26 | #$(SCRIPTS)bghtml $(BG) |
| 27 | $(SCRIPTS)html-list $(LIST) |
| 28 | $(MK) LIST="$(LIST)" summary > HTML/summary.out 2> HTML/summary.errs |
| 29 | diff --git a/scripts/html-list b/scripts/html-list |
| 30 | index 9850461..6383115 100755 |
| 31 | --- a/scripts/html-list |
| 32 | +++ b/scripts/html-list |
| 33 | @@ -14,7 +14,7 @@ open(H, ">HTML/specific.html"); |
| 34 | print H <<EOF; |
| 35 | <title>LMBENCH System Results</title> |
| 36 | <h1>LMBENCH System Results</h1> |
| 37 | -<h2><a href=summary>Summary of results</a></h2> |
| 38 | +<h2><a href=summary.out>Summary of results</a></h2> |
| 39 | <hr> |
| 40 | EOF |
| 41 | |
| 42 | @@ -47,7 +47,7 @@ foreach $os (@os) { |
| 43 | open(F, $file); |
| 44 | $_ = <F>; |
| 45 | close(F); |
| 46 | - next unless /lmbench1.[01]/; |
| 47 | + next unless /lmbench[0-9]+.[01]/; |
| 48 | chop; |
| 49 | $title = $_; |
| 50 | #s/.lmbench1.? results for //; |
| 51 | @@ -103,10 +103,7 @@ EOF |
| 52 | if $i < $#os; |
| 53 | print S<<EOF; |
| 54 | <h4>$title</h4> |
| 55 | -<a href=../$doc{$what}>Information on this benchmark</a> (Not up to date) |
| 56 | <p><IMG SRC="${what}${scale}$N.gif">\n<p> |
| 57 | -<a href=../lmbench.html> |
| 58 | -<img align=middle src="../gifs/arrows/b_arrow.gif">LMBENCH table of contents</a> |
| 59 | <a href=specific.html> |
| 60 | <img align=middle src=\"../gifs/graph.gif\">System results table of contents</a> |
| 61 | <p> |