From 06472a9d3c877f60beb608f02f9ec93c661ef355 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 31 Aug 2016 02:52:53 -0400 Subject: [PATCH] Add array for debugging specific translators --- .../zotero/tools/testTranslators/translatorTester.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index ef1c30ed11..be87824b67 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -27,6 +27,9 @@ var TEST_RUN_TIMEOUT = 600000; var EXPORTED_SYMBOLS = ["Zotero_TranslatorTesters"]; +// For debugging specific translators by label +var includeTranslators = []; + try { Zotero; } catch(e) { @@ -55,9 +58,10 @@ Zotero_TranslatorTesters = new function() { return function(translators) { try { for(var i=0; i