Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-03 12:22:06 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-03 12:22:06 +0400
commit59ca7888bcfaf559e6be49d4e9ef842f4e338841 (patch)
tree9177fc66efa3c235319ce56cf4effe7b4b78551b /tests/lib
parent7e58b9ebd290b4a24ea633833d7e41b6bdc055b2 (diff)
Debugging travis failures (and disabling more tests).
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/screenshot-testing/run-tests.js2
-rw-r--r--tests/lib/screenshot-testing/support/app.js1
-rw-r--r--tests/lib/screenshot-testing/support/diff-viewer.js1
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/screenshot-testing/run-tests.js b/tests/lib/screenshot-testing/run-tests.js
index b36c67fb63..a65848857d 100644
--- a/tests/lib/screenshot-testing/run-tests.js
+++ b/tests/lib/screenshot-testing/run-tests.js
@@ -27,7 +27,7 @@ if (options['help']) {
app.printHelpAndExit();
}
-options['tests'] = ['Dashboard']; // TODO: remove after debugging testing done
+options['tests'] = ['ActionsDataTable', 'BarGraph', 'Dashboard']; // TODO: remove after debugging testing done
app.init();
app.loadTestModules();
diff --git a/tests/lib/screenshot-testing/support/app.js b/tests/lib/screenshot-testing/support/app.js
index da76557805..f9b65a97c4 100644
--- a/tests/lib/screenshot-testing/support/app.js
+++ b/tests/lib/screenshot-testing/support/app.js
@@ -111,6 +111,7 @@ Application.prototype.runTests = function () {
dirsToCreate.forEach(function (path) {
if (!fs.isDirectory(path)) {
+ console.log("MAKING PATH: " + path);
fs.makeTree(path);
}
});
diff --git a/tests/lib/screenshot-testing/support/diff-viewer.js b/tests/lib/screenshot-testing/support/diff-viewer.js
index c5a882ee39..f6510e3e50 100644
--- a/tests/lib/screenshot-testing/support/diff-viewer.js
+++ b/tests/lib/screenshot-testing/support/diff-viewer.js
@@ -126,6 +126,7 @@ DiffViewerGenerator.prototype.generateDiffs = function (callback, i) {
&& entry.processed
) {
var diffPath = this.getDiffPath(entry);
+ console.log("COMPARE ARGS: " + JSON.stringify([entry.expected, entry.processed, diffPath]));
var child = require('child_process').spawn('compare', [entry.expected, entry.processed, diffPath]);