summaryrefslogtreecommitdiff
path: root/test/testtable.js
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-15 14:07:00 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-15 14:21:20 +0100
commit5f8ee79b40483bc93b448f9dbfc241d3090cb07c (patch)
treef9b2c2e5ce26ecec23d24d02d323637248aa42bd /test/testtable.js
parent768d39f034f47679492abfeaf6f5cf2ec9929c13 (diff)
downloadcairo-5f8ee79b40483bc93b448f9dbfc241d3090cb07c.tar.gz
test: Write the individual test logs to output/
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test/testtable.js')
-rw-r--r--test/testtable.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testtable.js b/test/testtable.js
index 8cf715677..6c25938c8 100644
--- a/test/testtable.js
+++ b/test/testtable.js
@@ -63,7 +63,7 @@ function fieldsToHTML (bColumns, values) {
var r = Array ();
for (var i = 0; i < fields.length; i++)
if (fields[i] == "test") {
- r.push (link (values[fields[i]], values[fields[i]] + ".log"));
+ r.push (link (values[fields[i]], "output/" + values[fields[i]] + ".log"));
} else {
tmpRE[i] = values[fields[i]];
r.push (span (values[fields[i]], prefix + "/" + tmpRE.join ("/") + "/", fields[i]));
@@ -415,7 +415,7 @@ function parseTestList (listData) {
if (words.length >= 2 &&
words[0][words[0].length-1] == ":" &&
inArray (words[1], logResults))
- parseFile (words[0].substr (0, words[0].length-1) + ".log", parseTest);
+ parseFile ("output/" + words[0].substr (0, words[0].length-1) + ".log", parseTest);
}
}
@@ -425,4 +425,4 @@ function reloadAll() {
parseFile ("cairo-test-suite.log", parseTestList);
}
-window.onload = reloadAll; \ No newline at end of file
+window.onload = reloadAll;