summaryrefslogtreecommitdiff
path: root/share/www/couch_tests.html
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2010-06-07 16:39:12 +0000
committerJohn Christopher Anderson <jchris@apache.org>2010-06-07 16:39:12 +0000
commit9765e4fc3e89400262330d907fb5429ada370428 (patch)
tree99944cda181748fd91095694cdd774473cd5f3e1 /share/www/couch_tests.html
parent426ab48c842cc7f9a4d0a3f11eacd7c63b334287 (diff)
button on test suite page to replicate test_suite_reports to community couchdb
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@952326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/couch_tests.html')
-rw-r--r--share/www/couch_tests.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/www/couch_tests.html b/share/www/couch_tests.html
index 0d09a4af..bb384283 100644
--- a/share/www/couch_tests.html
+++ b/share/www/couch_tests.html
@@ -35,6 +35,14 @@ specific language governing permissions and limitations under the License.
$("#toolbar button.load").click(function() {
location.reload(true);
});
+ $("#toolbar button.share").click(function() {
+ $.showDialog("dialog/_share_test_reports.html", {
+ submit: function(data, callback) {
+ $.couch.replicate("test_suite_reports", "http://couchdb.couchdb.org/test_suite_reports");
+ callback();
+ }
+ });
+ });
$("#toolbar button.add").click(function() {
location = "custom_test.html";
});
@@ -52,6 +60,7 @@ specific language governing permissions and limitations under the License.
<ul id="toolbar">
<li><button class="run">Run All</button></li>
<li><button class="load">Reload</button></li>
+ <li><button class="share">Share Test Reports</button></li>
<li><button class="add">Custom Test</button></li>
</ul>
<p class="help">