summaryrefslogtreecommitdiff
path: root/share/www/script/couch_test_runner.js
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-15 08:53:25 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-15 08:53:25 +0000
commitf815fc6cca11d6119a5cb788821957cdcba1a567 (patch)
treeb353e75d217ceac1b24db1856b456a53bbb82e0b /share/www/script/couch_test_runner.js
parent28b6fb6dfbce96e6992591a1287bdf39c735f414 (diff)
Fix bug in test runner triggered by upgrade to jQuery 1.3.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734633 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch_test_runner.js')
-rw-r--r--share/www/script/couch_test_runner.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/www/script/couch_test_runner.js b/share/www/script/couch_test_runner.js
index 921b9371..a454a835 100644
--- a/share/www/script/couch_test_runner.js
+++ b/share/www/script/couch_test_runner.js
@@ -137,7 +137,9 @@ function updateTestsListing() {
function updateTestsFooter() {
var tests = $("#tests tbody.content tr td.status");
- var testsRun = tests.not(":contains('not run'))");
+ console.log(tests);
+ var testsRun = tests.filter(".success, .error, .failure");
+ console.log(testsRun)
var testsFailed = testsRun.not(".success");
$("#tests tbody.footer td").text(testsRun.length + " of " + tests.length +
" test(s) run, " + testsFailed.length + " failures");