|
108 | 108 | <task id="test-suite-ecma-script6"><![CDATA[
|
109 | 109 | setJavaVersion $java
|
110 | 110 | sbtretry 'set Seq(testSuite, noIrCheckTest).map(pr => scalaJSOutputMode in pr := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6)' \
|
111 |
| - 'set Seq(testSuite, noIrCheckTest).map(pr => postLinkJSEnv in pr := NodeJSEnv(args = Seq("--harmony-rest-parameters")).value.withSourceMap(false))' \ |
| 111 | + 'set Seq(testSuite, noIrCheckTest).map(pr => postLinkJSEnv in pr := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls")).value.withSourceMap(false))' \ |
112 | 112 | 'set scalaJSStage in Global := FastOptStage' \
|
113 | 113 | ++$scala testSuite/test noIrCheckTest/test \
|
114 | 114 | testSuite/clean noIrCheckTest/clean &&
|
115 | 115 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6' \
|
116 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters")).value.withSourceMap(false)' \ |
| 116 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls")).value.withSourceMap(false)' \ |
117 | 117 | 'set scalaJSOptimizerOptions in testSuite ~= (_.withDisableOptimizer(true))' \
|
118 | 118 | 'set scalaJSStage in Global := FastOptStage' \
|
119 | 119 | ++$scala testSuite/test \
|
120 | 120 | testSuite/clean &&
|
121 | 121 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6' \
|
122 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters")).value.withSourceMap(false)' \ |
| 122 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls")).value.withSourceMap(false)' \ |
123 | 123 | 'set scalaJSSemantics in testSuite ~= {
|
124 | 124 | _.withAsInstanceOfs(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
125 | 125 | .withModuleInit(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
|
129 | 129 | ++$scala testSuite/test \
|
130 | 130 | testSuite/clean &&
|
131 | 131 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6' \
|
132 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters")).value.withSourceMap(false)' \ |
| 132 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls")).value.withSourceMap(false)' \ |
133 | 133 | 'set scalaJSSemantics in testSuite ~= {
|
134 | 134 | _.withAsInstanceOfs(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
135 | 135 | .withModuleInit(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
|
140 | 140 | ++$scala testSuite/test \
|
141 | 141 | testSuite/clean &&
|
142 | 142 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6' \
|
143 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters")).value.withSourceMap(false)' \ |
| 143 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls")).value.withSourceMap(false)' \ |
144 | 144 | 'set scalaJSSemantics in testSuite ~= { _.optimized }' \
|
145 | 145 | 'set scalaJSStage in Global := FastOptStage' \
|
146 | 146 | ++$scala testSuite/test \
|
147 | 147 | testSuite/clean &&
|
148 | 148 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6' \
|
149 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters")).value.withSourceMap(false)' \ |
| 149 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls")).value.withSourceMap(false)' \ |
150 | 150 | 'set scalaJSSemantics in testSuite ~= { _.optimized }' \
|
151 | 151 | 'set scalaJSOptimizerOptions in testSuite ~= (_.withDisableOptimizer(true))' \
|
152 | 152 | 'set scalaJSStage in Global := FastOptStage' \
|
|
157 | 157 | <task id="test-suite-ecma-script6-strong-mode"><![CDATA[
|
158 | 158 | setJavaVersion $java
|
159 | 159 | sbtretry 'set Seq(testSuite, noIrCheckTest).map(pr => scalaJSOutputMode in pr := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6StrongMode)' \
|
160 |
| - 'set Seq(testSuite, noIrCheckTest).map(pr => postLinkJSEnv in pr := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--strong-mode")).value.withSourceMap(false))' \ |
| 160 | + 'set Seq(testSuite, noIrCheckTest).map(pr => postLinkJSEnv in pr := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls", "--strong-mode")).value.withSourceMap(false))' \ |
161 | 161 | 'set scalaJSStage in Global := FastOptStage' \
|
162 | 162 | ++$scala testSuite/test noIrCheckTest/test \
|
163 | 163 | testSuite/clean noIrCheckTest/clean &&
|
164 | 164 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6StrongMode' \
|
165 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--strong-mode")).value.withSourceMap(false)' \ |
| 165 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls", "--strong-mode")).value.withSourceMap(false)' \ |
166 | 166 | 'set scalaJSOptimizerOptions in testSuite ~= (_.withDisableOptimizer(true))' \
|
167 | 167 | 'set scalaJSStage in Global := FastOptStage' \
|
168 | 168 | ++$scala testSuite/test \
|
169 | 169 | testSuite/clean &&
|
170 | 170 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6StrongMode' \
|
171 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--strong-mode")).value.withSourceMap(false)' \ |
| 171 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls", "--strong-mode")).value.withSourceMap(false)' \ |
172 | 172 | 'set scalaJSSemantics in testSuite ~= {
|
173 | 173 | _.withAsInstanceOfs(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
174 | 174 | .withModuleInit(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
|
178 | 178 | ++$scala testSuite/test \
|
179 | 179 | testSuite/clean &&
|
180 | 180 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6StrongMode' \
|
181 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--strong-mode")).value.withSourceMap(false)' \ |
| 181 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls", "--strong-mode")).value.withSourceMap(false)' \ |
182 | 182 | 'set scalaJSSemantics in testSuite ~= {
|
183 | 183 | _.withAsInstanceOfs(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
184 | 184 | .withModuleInit(org.scalajs.core.tools.sem.CheckedBehavior.Compliant)
|
|
189 | 189 | ++$scala testSuite/test \
|
190 | 190 | testSuite/clean &&
|
191 | 191 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6StrongMode' \
|
192 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--strong-mode")).value.withSourceMap(false)' \ |
| 192 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls", "--strong-mode")).value.withSourceMap(false)' \ |
193 | 193 | 'set scalaJSSemantics in testSuite ~= { _.optimized }' \
|
194 | 194 | 'set scalaJSStage in Global := FastOptStage' \
|
195 | 195 | ++$scala testSuite/test \
|
196 | 196 | testSuite/clean &&
|
197 | 197 | sbtretry 'set scalaJSOutputMode in testSuite := org.scalajs.core.tools.javascript.OutputMode.ECMAScript6StrongMode' \
|
198 |
| - 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--strong-mode")).value.withSourceMap(false)' \ |
| 198 | + 'set postLinkJSEnv in testSuite := NodeJSEnv(args = Seq("--harmony-rest-parameters", "--harmony-spreadcalls", "--strong-mode")).value.withSourceMap(false)' \ |
199 | 199 | 'set scalaJSSemantics in testSuite ~= { _.optimized }' \
|
200 | 200 | 'set scalaJSOptimizerOptions in testSuite ~= (_.withDisableOptimizer(true))' \
|
201 | 201 | 'set scalaJSStage in Global := FastOptStage' \
|
|
0 commit comments