Permalink
Browse files

Hardcode the mozmill-tests repository.

  • Loading branch information...
1 parent 9c0b22e commit f7e4986752bf104eee8d7f304759fb89a7b1fb78 @davehunt davehunt committed May 22, 2012
Showing with 5 additions and 6 deletions.
  1. +1 −0 _attachments/js/config.js
  2. +3 −6 _attachments/js/dashboard.js
  3. +1 −0 dashboard.js
@@ -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;
@@ -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)
View
@@ -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",

0 comments on commit f7e4986

Please sign in to comment.