Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Hardcode the mozmill-tests repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed May 22, 2012
1 parent 9c0b22e commit f7e4986
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions _attachments/js/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var FIREFOX_VERSIONS = ["15.0", "14.0", "13.0", "12.0", "10.0", "3.6"];
var TESTS_REPOSITORY = "http://hg.mozilla.org/qa/mozmill-tests";

var BYTE_TO_MEGABYTE = 1/1048576;
var MAX_CHART_CHECKPOINTS = 450;
9 changes: 3 additions & 6 deletions _attachments/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ function processTestResults(aReport) {
// Split absolute path and only keep the relative path below the test-run folder
var filename = result.filename.split(report_type)[1].replace(/\\/g, '/');

var repository_url = null;
if ('tests_repository' in aReport) {
repository_url = aReport.tests_repository + '/file/' +
aReport.tests_changeset + '/tests/' +
report_type + filename
}
var repository_url = TESTS_REPOSITORY + '/file/' +
aReport.tests_changeset + '/tests/' +
report_type + filename;

var status = "passed";
if (result.skipped)
Expand Down
1 change: 1 addition & 0 deletions dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ ddoc.validate_doc_update = function(newDoc, oldDoc, userCtx) {
var requiredFields = [ "application_id",
"mozmill_version",
"system_info",
"tests_changeset",
"tests_passed",
"tests_failed",
"tests_skipped",
Expand Down

0 comments on commit f7e4986

Please sign in to comment.