Arlolra has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281471

Change subject: Fix rt testing
......................................................................

Fix rt testing

 * Both the rt-test (used from the command line) and regression-test
   scripts were broken by 93829f35

Change-Id: I9e7fef23d6d966dca2dd05d205b9f47d42866d96
---
M bin/roundtrip-test.js
M tools/regression-testing.js
2 files changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/71/281471/1

diff --git a/bin/roundtrip-test.js b/bin/roundtrip-test.js
index 2e34790..402ba18 100755
--- a/bin/roundtrip-test.js
+++ b/bin/roundtrip-test.js
@@ -546,6 +546,7 @@
                } else {
                        Util.setTemplatingAndProcessingFlags(parsoidConfig, 
options);
                        Util.setDebuggingFlags(parsoidConfig, options);
+                       parsoidConfig.loadWMF = true;
                }
        };
        var parsoidConfig = new ParsoidConfig({ setup: setup });
diff --git a/tools/regression-testing.js b/tools/regression-testing.js
index 435f001..40d23d4 100755
--- a/tools/regression-testing.js
+++ b/tools/regression-testing.js
@@ -82,6 +82,9 @@
                                prefix: t.prefix,
                                rtTestMode: true,
                                parsoidURL: ret.url,
+                               setup: function(parsoidConfig) {
+                                       parsoidConfig.loadWMF = true;
+                               },
                        }, rtTest.jsonFormat).then(
                                handleResult.bind(null, t)
                        );

-- 
To view, visit https://gerrit.wikimedia.org/r/281471
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e7fef23d6d966dca2dd05d205b9f47d42866d96
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Arlolra <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to