jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I9e7fef23d6d966dca2dd05d205b9f47d42866d96
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Arlolra <[email protected]>
Gerrit-Reviewer: Arlolra <[email protected]>
Gerrit-Reviewer: Cscott <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to