Mon, 09 Nov 2015 13:45:10 -0800
Merge
jlaskey@3 | 1 | # |
mhaupt@1391 | 2 | # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. |
jlaskey@3 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jlaskey@3 | 4 | # |
jlaskey@3 | 5 | # This code is free software; you can redistribute it and/or modify it |
jlaskey@3 | 6 | # under the terms of the GNU General Public License version 2 only, as |
jlaskey@3 | 7 | # published by the Free Software Foundation. |
jlaskey@3 | 8 | # |
jlaskey@3 | 9 | # This code is distributed in the hope that it will be useful, but WITHOUT |
jlaskey@3 | 10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jlaskey@3 | 11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jlaskey@3 | 12 | # version 2 for more details (a copy is included in the LICENSE file that |
jlaskey@3 | 13 | # accompanied this code). |
jlaskey@3 | 14 | # |
jlaskey@3 | 15 | # You should have received a copy of the GNU General Public License version |
jlaskey@3 | 16 | # 2 along with this work; if not, write to the Free Software Foundation, |
jlaskey@3 | 17 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jlaskey@3 | 18 | # |
jlaskey@3 | 19 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jlaskey@3 | 20 | # or visit www.oracle.com if you need additional information or have any |
jlaskey@3 | 21 | # questions. |
jlaskey@3 | 22 | # |
jlaskey@3 | 23 | |
jlaskey@3 | 24 | application.title=nashorn |
jlaskey@3 | 25 | |
sundar@10 | 26 | # location of JDK embedded ASM sources |
sundar@128 | 27 | jdk.asm.src.dir=../jdk/src/share/classes/jdk/internal/org/objectweb/asm |
sundar@10 | 28 | |
jlaskey@3 | 29 | # source and target levels |
jlaskey@3 | 30 | build.compiler=modern |
jlaskey@3 | 31 | javac.source=1.7 |
jlaskey@3 | 32 | javac.target=1.7 |
sundar@1550 | 33 | test.javac.source=1.8 |
sundar@1550 | 34 | test.javac.target=1.8 |
jlaskey@3 | 35 | |
jlaskey@3 | 36 | # nashorn version information |
jlaskey@3 | 37 | nashorn.version=0.1 |
jlaskey@3 | 38 | nashorn.fullversion=0.1 |
jlaskey@3 | 39 | nashorn.product.name=Oracle Nashorn |
jlaskey@3 | 40 | |
jlaskey@3 | 41 | # This directory is removed when the project is cleaned: |
jlaskey@3 | 42 | build.dir=build |
jlaskey@3 | 43 | build.classes.dir=${build.dir}/classes |
jlaskey@3 | 44 | build.zip=${build.dir}/nashorn.zip |
jlaskey@3 | 45 | build.gzip=${build.dir}/nashorn.tar.gz |
jlaskey@3 | 46 | |
jlaskey@3 | 47 | # nashorn Shell tool |
jlaskey@3 | 48 | nashorn.shell.tool=jdk.nashorn.tools.Shell |
jlaskey@3 | 49 | |
jlaskey@3 | 50 | # nasgen tool |
jlaskey@3 | 51 | nasgen.tool=jdk.nashorn.internal.tools.nasgen.Main |
jlaskey@3 | 52 | |
jlaskey@3 | 53 | # parallel test runner tool |
jlaskey@3 | 54 | parallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner |
jlaskey@3 | 55 | |
jlaskey@3 | 56 | # test classes directory |
jlaskey@3 | 57 | build.test.classes.dir=${build.dir}/test/classes |
attila@963 | 58 | |
sundar@77 | 59 | # nashorn test jar - internal tests jar and api tests jar |
sundar@77 | 60 | nashorn.internal.tests.jar=${build.dir}/nashorn-internal-tests.jar |
sundar@77 | 61 | nashorn.api.tests.jar=${build.dir}/nashorn-api-tests.jar |
sundar@77 | 62 | |
jlaskey@3 | 63 | # test results directory |
jlaskey@3 | 64 | build.test.results.dir=${build.dir}/test/reports |
sundar@855 | 65 | build.nosecurity.test.results.dir=${build.dir}/test/nosecurity/reports |
attila@963 | 66 | build.nooptimistic.test.results.dir=${build.dir}/test/nooptimistic/reports |
jlaskey@3 | 67 | |
jlaskey@3 | 68 | # This directory is removed when the project is cleaned: |
jlaskey@3 | 69 | dist.dir=dist |
jlaskey@3 | 70 | dist.jar=${dist.dir}/nashorn.jar |
jlaskey@3 | 71 | dist.javadoc.dir=${dist.dir}/javadoc |
jlaskey@3 | 72 | |
jlaskey@161 | 73 | # nashorn javafx shell |
jlaskey@161 | 74 | fxshell.tool = jdk.nashorn.tools.FXShell |
jlaskey@161 | 75 | fxshell.classes.dir = ${build.dir}/fxshell/classes |
jlaskey@161 | 76 | fxshell.dir = tools/fxshell |
jlaskey@161 | 77 | fxshell.jar = ${dist.dir}/nashornfx.jar |
jlaskey@161 | 78 | |
attila@963 | 79 | # configuration for java flight recorder |
attila@963 | 80 | run.test.jvmargs.jfr=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128 |
attila@963 | 81 | |
mhaupt@1391 | 82 | # test library location |
mhaupt@1391 | 83 | test.lib=${basedir}${file.separator}test${file.separator}lib |
mhaupt@1391 | 84 | |
jlaskey@3 | 85 | # jars refererred |
mhaupt@1391 | 86 | file.reference.testng.jar=${test.lib}${file.separator}testng.jar |
jlaskey@3 | 87 | |
jlaskey@3 | 88 | # Set testng verbose level |
jlaskey@3 | 89 | # From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed) |
jlaskey@3 | 90 | # Actually, this is a lie: you can specify -1 and this will put TestNG in |
jlaskey@3 | 91 | # debug mode (no longer slicing off stack traces and all)." |
jlaskey@3 | 92 | |
jlaskey@3 | 93 | testng.verbose=2 |
jlaskey@3 | 94 | |
jlaskey@3 | 95 | # TestNG listeners - we want to replace TestNG's own JUnit |
jlaskey@3 | 96 | # reporter, but want everything else provided by default |
jlaskey@3 | 97 | # Unfortunately, we've to clone the other default reporters here. |
jlaskey@3 | 98 | |
jlaskey@3 | 99 | testng.listeners=\ |
jlaskey@3 | 100 | org.testng.reporters.SuiteHTMLReporter, \ |
sundar@300 | 101 | org.testng.reporters.TestHTMLReporter, \ |
jlaskey@3 | 102 | org.testng.reporters.jq.Main, \ |
jlaskey@3 | 103 | org.testng.reporters.FailedReporter, \ |
jlaskey@3 | 104 | org.testng.reporters.XMLReporter \ |
jlaskey@3 | 105 | org.testng.reporters.EmailableReporter, \ |
jlaskey@3 | 106 | jdk.nashorn.internal.test.framework.JSJUnitReportReporter |
jlaskey@3 | 107 | |
jlaskey@3 | 108 | javac.debug=true |
jlaskey@3 | 109 | javac.encoding=ascii |
jlaskey@3 | 110 | javac.classpath=\ |
attila@90 | 111 | ${build.classes.dir} |
jlaskey@3 | 112 | javac.test.classpath=\ |
mhaupt@1353 | 113 | ${build.classes.dir}${path.separator}\ |
mhaupt@1353 | 114 | ${build.test.classes.dir}${path.separator}\ |
jlaskey@3 | 115 | ${file.reference.testng.jar} |
jlaskey@3 | 116 | |
jlaskey@3 | 117 | meta.inf.dir=${src.dir}/META-INF |
jlaskey@3 | 118 | |
jlaskey@3 | 119 | run.classpath=\ |
jlaskey@3 | 120 | ${build.classes.dir} |
jlaskey@3 | 121 | |
jlaskey@3 | 122 | # test scripts to run |
jlaskey@3 | 123 | test.dir=test |
sundar@855 | 124 | test.nosecurity.dir=test/script/nosecurity |
jlaskey@3 | 125 | test.script.dir=test/script |
jlaskey@3 | 126 | test.basic.dir=test/script/basic |
sundar@762 | 127 | test.maptests.dir=test/script/maptests |
jlaskey@3 | 128 | test.error.dir=test/script/error |
jlaskey@3 | 129 | test.sandbox.dir=test/script/sandbox |
sundar@77 | 130 | test.trusted.dir=test/script/trusted |
jlaskey@3 | 131 | test.external.dir=test/script/external |
jlaskey@3 | 132 | test262.dir=${test.external.dir}/test262 |
jlaskey@3 | 133 | test262.suite.dir=${test262.dir}/test/suite |
kshefov@638 | 134 | testjfx.dir=${test.script.dir}/jfx |
attila@963 | 135 | testmarkdown.dir=${test.script.dir}/markdown |
jlaskey@3 | 136 | |
jlaskey@3 | 137 | test-sys-prop.test.dir=${test.dir} |
sundar@762 | 138 | test-sys-prop.test.js.roots=${test.basic.dir} ${test.maptests.dir} ${test.error.dir} ${test.sandbox.dir} ${test.trusted.dir} |
jlaskey@3 | 139 | test-sys-prop.test262.suite.dir=${test262.suite.dir} |
jlaskey@3 | 140 | test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases |
jlaskey@3 | 141 | test-sys-prop.test.basic.dir=${test.basic.dir} |
jlaskey@3 | 142 | |
sundar@855 | 143 | test-sys-prop-no-security.test.dir=${test.dir} |
sundar@855 | 144 | test-sys-prop-no-security.test.js.roots=${test.nosecurity.dir} |
sundar@855 | 145 | |
jlaskey@3 | 146 | # framework root for our script tests |
jlaskey@3 | 147 | test-sys-prop.test.js.framework=${test.script.dir}/assert.js |
sundar@855 | 148 | test-sys-prop-no-security.test.js.framework=${test.script.dir}/assert.js |
jlaskey@3 | 149 | |
jlaskey@3 | 150 | # Control the verbosity of ParserTest |
jlaskey@3 | 151 | test-sys-prop.parsertest.verbose=false |
jlaskey@3 | 152 | |
jlaskey@3 | 153 | # turn on/off scripting mode for parser tests |
jlaskey@3 | 154 | test-sys-prop.parsertest.scripting=true |
jlaskey@3 | 155 | |
jlaskey@3 | 156 | # turn on/off test262 scripts for parser tests |
jlaskey@3 | 157 | test-sys-prop.parsertest.test262=false |
jlaskey@3 | 158 | |
jlaskey@3 | 159 | # Control the verbosity of the CompilerTest |
jlaskey@3 | 160 | test-sys-prop.compilertest.verbose=false |
jlaskey@3 | 161 | |
jlaskey@3 | 162 | # turn on/off scripting mode for compiler tests |
jlaskey@3 | 163 | test-sys-prop.compilertest.scripting=true |
jlaskey@3 | 164 | |
jlaskey@3 | 165 | # turn on/off test262 scripts for compiler tests |
jlaskey@3 | 166 | test-sys-prop.compilertest.test262=false |
jlaskey@3 | 167 | |
jlaskey@3 | 168 | # test directory to be excluded. |
jlaskey@3 | 169 | test-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir} |
jlaskey@3 | 170 | |
jlaskey@3 | 171 | # run everything that's js in here, without checking file headers for test annotations |
jlaskey@3 | 172 | test-sys-prop.test.js.unchecked.dir=${test262.dir} |
jlaskey@3 | 173 | |
jlaskey@3 | 174 | # test root for octane |
sundar@19 | 175 | octane-test-sys-prop.test.js.roots=${test.external.dir}/octane/ |
jlaskey@3 | 176 | |
attila@963 | 177 | # run octane benchmars in separate processes? (recommended) |
sundar@25 | 178 | octane-test-sys-prop.separate.process=true |
sundar@25 | 179 | |
jlaskey@3 | 180 | # framework root for octane |
jlaskey@3 | 181 | octane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js |
jlaskey@3 | 182 | |
jlaskey@3 | 183 | # test root for sunspider |
attila@963 | 184 | sunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/tests/sunspider-1.0.2/ |
jlaskey@3 | 185 | |
jlaskey@3 | 186 | # framework root for sunspider |
jlaskey@3 | 187 | sunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js |
jlaskey@3 | 188 | |
jlaskey@3 | 189 | # list of tests to be excluded |
jlaskey@3 | 190 | sunspider-test-sys-prop.test.js.exclude.list= |
jlaskey@3 | 191 | |
jlaskey@3 | 192 | # execute our script tests in shared nashorn context or not? |
jlaskey@3 | 193 | test-sys-prop.test.js.shared.context=false |
jlaskey@3 | 194 | |
jlaskey@3 | 195 | # execute test262 tests in shared nashorn context or not? |
jlaskey@3 | 196 | test262-test-sys-prop.test.js.shared.context=true |
jlaskey@3 | 197 | |
jlaskey@3 | 198 | # test262 test root |
jlaskey@3 | 199 | test262-test-sys-prop.test.js.roots=${test262.suite.dir} |
attila@963 | 200 | |
jlaskey@3 | 201 | # test262 enable/disable strict mode tests |
jlaskey@3 | 202 | test262-test-sys-prop.test.js.enable.strict.mode=true |
jlaskey@3 | 203 | |
jlaskey@3 | 204 | # file containing test262 tests to be excluded |
jlaskey@3 | 205 | # test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml |
jlaskey@3 | 206 | |
jlaskey@3 | 207 | # list of test262 test dirs to be excluded |
jlaskey@3 | 208 | test262-test-sys-prop.test.js.exclude.dir=\ |
sundar@351 | 209 | ${test262.suite.dir}/intl402/ \ |
attila@963 | 210 | ${test262.suite.dir}/bestPractice/ |
jlaskey@3 | 211 | |
attila@255 | 212 | test262-test-sys-prop.test.failed.list.file=${build.dir}/test/failedTests |
attila@255 | 213 | |
jlaskey@3 | 214 | # test262 test frameworks |
jlaskey@3 | 215 | test262-test-sys-prop.test.js.framework=\ |
hannesw@769 | 216 | --class-cache-size=10 \ |
sundar@418 | 217 | --no-java \ |
sundar@418 | 218 | --no-typed-arrays \ |
jlaskey@3 | 219 | -timezone=PST \ |
jlaskey@3 | 220 | ${test.script.dir}/test262.js \ |
jlaskey@3 | 221 | ${test262.dir}/test/harness/framework.js \ |
jlaskey@3 | 222 | ${test262.dir}/test/harness/sta.js |
jlaskey@3 | 223 | |
attila@963 | 224 | # testmarkdown test root |
attila@963 | 225 | testmarkdown-test-sys-prop.test.js.roots=${testmarkdown.dir} |
attila@963 | 226 | |
attila@963 | 227 | # execute testmarkdown tests in shared nashorn context or not? |
attila@963 | 228 | testmarkdown-test-sys-prop.test.js.shared.context=false |
attila@963 | 229 | |
attila@963 | 230 | # framework root for markdown script tests |
attila@963 | 231 | testmarkdown-test-sys-prop.test.js.framework=\ |
attila@963 | 232 | ${test.script.dir}${file.separator}markdown.js |
attila@963 | 233 | |
kshefov@638 | 234 | # testjfx test root |
attila@963 | 235 | testjfx-test-sys-prop.test.js.roots=${testjfx.dir} |
kshefov@638 | 236 | |
kshefov@638 | 237 | # execute testjfx tests in shared nashorn context or not? |
kshefov@638 | 238 | testjfx-test-sys-prop.test.js.shared.context=false |
kshefov@638 | 239 | |
kshefov@638 | 240 | # framework root for our script tests |
kshefov@638 | 241 | testjfx-test-sys-prop.test.js.framework=\ |
kshefov@638 | 242 | -fx \ |
kshefov@638 | 243 | ${test.script.dir}${file.separator}jfx.js |
kshefov@638 | 244 | |
mhaupt@1391 | 245 | file.reference.jemmyfx.jar=${test.lib}${file.separator}JemmyFX.jar |
mhaupt@1391 | 246 | file.reference.jemmycore.jar=${test.lib}${file.separator}JemmyCore.jar |
mhaupt@1391 | 247 | file.reference.jemmyawtinput.jar=${test.lib}${file.separator}JemmyAWTInput.jar |
kshefov@638 | 248 | file.reference.jfxrt.jar=${java.home}${file.separator}lib${file.separator}ext${file.separator}jfxrt.jar |
kshefov@638 | 249 | testjfx.run.test.classpath=\ |
kshefov@638 | 250 | ${file.reference.jemmyfx.jar}${path.separator}\ |
kshefov@638 | 251 | ${file.reference.jemmycore.jar}${path.separator}\ |
kshefov@638 | 252 | ${file.reference.jemmyawtinput.jar}${path.separator}\ |
kshefov@638 | 253 | ${file.reference.testng.jar}${path.separator}\ |
kshefov@638 | 254 | ${nashorn.internal.tests.jar}${path.separator}\ |
kshefov@667 | 255 | ${nashorn.api.tests.jar} |
kshefov@638 | 256 | |
kshefov@638 | 257 | # testjfx VM options for script tests with @fork option |
kshefov@638 | 258 | testjfx-test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${testjfx.run.test.classpath} |
kshefov@638 | 259 | |
jlaskey@3 | 260 | run.test.classpath=\ |
mhaupt@1353 | 261 | ${file.reference.testng.jar}${path.separator}\ |
mhaupt@1353 | 262 | ${nashorn.internal.tests.jar}${path.separator}\ |
sundar@77 | 263 | ${nashorn.api.tests.jar} |
sundar@77 | 264 | |
jlaskey@3 | 265 | src.dir=src |
jlaskey@3 | 266 | test.src.dir=test/src |
jlaskey@3 | 267 | |
hannesw@562 | 268 | # -Xmx is used for all tests, -Xms only for octane benchmark |
mnunez@857 | 269 | run.test.xmx=2G |
sundar@37 | 270 | run.test.xms=2G |
sundar@37 | 271 | |
attila@963 | 272 | # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames, |
attila@963 | 273 | # or everything will as of the now drown in lambda forms and be cut off. |
attila@963 | 274 | # |
attila@963 | 275 | #jfr.args=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 \ |
attila@963 | 276 | |
attila@963 | 277 | jfr.args= |
attila@963 | 278 | |
sundar@293 | 279 | run.test.user.language=tr |
sundar@293 | 280 | run.test.user.country=TR |
sundar@293 | 281 | |
attila@963 | 282 | run.test.jvmargs.common=\ |
attila@963 | 283 | -server \ |
attila@963 | 284 | -Dfile.encoding=UTF-8 \ |
attila@963 | 285 | -Duser.language=${run.test.user.language} \ |
attila@963 | 286 | -Duser.country=${run.test.user.country} \ |
attila@963 | 287 | -Dnashorn.typeInfo.cacheDir=${build.dir}${file.separator}test${file.separator}type_info_cache \ |
attila@963 | 288 | ${jfr.args} \ |
attila@963 | 289 | -XX:+HeapDumpOnOutOfMemoryError |
sundar@492 | 290 | |
sundar@492 | 291 | # turn on assertions for tests |
sundar@492 | 292 | run.test.jvmargs.main=${run.test.jvmargs.common} -ea |
sundar@293 | 293 | |
lagergren@1036 | 294 | # Extra jvmargs that might be useful for debugging |
lagergren@1036 | 295 | # and performance improvements/monitoring |
attila@963 | 296 | # |
attila@963 | 297 | # -XX:+UnlockDiagnosticVMOptions |
attila@963 | 298 | # |
attila@963 | 299 | # turn off compressed class pointers in metaspace |
attila@963 | 300 | # -XX:-UseCompressedKlassPointers |
attila@963 | 301 | # |
attila@963 | 302 | # dump the heap after every GC |
attila@963 | 303 | # -XX:+PrintHeapAtGC |
attila@963 | 304 | # |
attila@963 | 305 | # manually set a metaspace size for class data |
attila@963 | 306 | # -XX:ClassMetaspaceSize=300M |
attila@963 | 307 | # |
attila@963 | 308 | # print out methods compiled |
attila@963 | 309 | # -XX:+PrintCompilation |
attila@963 | 310 | # |
attila@963 | 311 | # print all compiled nmethods with oopmaps and lots of other info |
attila@963 | 312 | # -XX:+PrintNMethods |
lagergren@1036 | 313 | # |
lagergren@1036 | 314 | # activate the generic "UseNewCode" flag to test whatever functionality |
lagergren@1036 | 315 | # lies behind it. This is the preferred way to test a, yet flagless, |
lagergren@1036 | 316 | # feature in HotSpot - for example, the uncommon trap placement fix |
lagergren@1036 | 317 | # was hidden behind this flag before it became the default |
lagergren@1036 | 318 | # |
lagergren@1036 | 319 | # -XX:+UnlockDiagnosticVMOptions -XX:+UseNewCode |
lagergren@1036 | 320 | # |
lagergren@1036 | 321 | # Crank up the type profile level to 222, which has some warmup |
lagergren@1036 | 322 | # penalties, but produces much better code for JavaScript, where better |
lagergren@1036 | 323 | # and more intrusive type profiling is required to get rid of |
lagergren@1036 | 324 | # a large amount of unnecessary guard code, that could not otherwise |
lagergren@1036 | 325 | # be eliminated |
lagergren@1036 | 326 | # |
lagergren@1036 | 327 | # -XX:TypeProfileLevel=222 |
lagergren@1036 | 328 | # |
jlaskey@3 | 329 | |
attila@963 | 330 | # Use best known performance options for octane |
lagergren@1036 | 331 | run.test.jvmargs.octane.main=${run.test.jvmargs.common} -XX:TypeProfileLevel=222 |
attila@963 | 332 | |
attila@963 | 333 | # Security manager args - make sure that we run with the nashorn.policy that the build creates |
attila@963 | 334 | run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${build.dir}/nashorn.policy |
jlaskey@3 | 335 | |
sundar@476 | 336 | # VM options for script tests with @fork option |
sundar@762 | 337 | test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -cp ${run.test.classpath} |
hannesw@1341 | 338 | # VM options for no-security script tests with @fork option - same as above but without jvmsecurityargs |
hannesw@1341 | 339 | test-sys-prop-no-security.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${run.test.classpath} |
sundar@476 | 340 | |
jlaskey@3 | 341 | # path of rhino.jar for benchmarks |
attila@963 | 342 | rhino.dir= |
attila@963 | 343 | rhino.jar=${rhino.dir}/js.jar |
jlaskey@3 | 344 | |
jlaskey@3 | 345 | v8.shell=d8 |
jlaskey@3 | 346 | |
attila@963 | 347 | # How many iterations should 'ant octane' run for each |
attila@963 | 348 | # benchmark |
attila@963 | 349 | octane.iterations=25 |
attila@963 | 350 | |
attila@963 | 351 | # List of octane tests to run, as properties prefixed with |
attila@963 | 352 | # "octane.benchmark." mapping to the benchmark name in |
attila@963 | 353 | # the test harness |
attila@963 | 354 | # |
attila@963 | 355 | # Octane tests that are disabled should have their entire line |
attila@963 | 356 | # commented out Tests may be disabled for functionality reasons when |
attila@963 | 357 | # they have bugs or when the runtime doesn't handle them (yet) |
attila@963 | 358 | octane.benchmark.box2d=box2d |
attila@963 | 359 | #octane.benchmark.code-load=code-load |
attila@963 | 360 | octane.benchmark.crypto=crypto |
attila@963 | 361 | octane.benchmark.deltablue=deltablue |
attila@963 | 362 | octane.benchmark.earley-boyer=earley-boyer |
attila@963 | 363 | octane.benchmark.gbemu=gbemu |
attila@963 | 364 | octane.benchmark.navier-stokes=navier-stokes |
attila@963 | 365 | octane.benchmark.mandreel=mandreel |
attila@963 | 366 | octane.benchmark.pdfjs=pdfjs |
attila@963 | 367 | octane.benchmark.raytrace=raytrace |
attila@963 | 368 | octane.benchmark.regexp=regexp |
attila@963 | 369 | octane.benchmark.richards=richards |
attila@963 | 370 | octane.benchmark.splay=splay |
attila@963 | 371 | #octane.benchmark.typescript=typescript |
attila@963 | 372 | #octane.benchmark.zlib=zlib |
attila@963 | 373 | |
jlaskey@3 | 374 | #path to rhino jar file |
jlaskey@3 | 375 | octaneperf-sys-prop.rhino.jar=${rhino.jar} |
jlaskey@3 | 376 | |
jlaskey@3 | 377 | #timeout for performance tests in minutes |
jlaskey@3 | 378 | octaneperf-sys-prop.timeout.value=10 |
lagergren@111 | 379 | |
attila@963 | 380 | #how many iterations to run sunspider after warmup |
attila@963 | 381 | sunspider.iterations=3000 |
attila@963 | 382 | |
attila@963 | 383 | ################# |
attila@963 | 384 | # code coverage # |
attila@963 | 385 | ################# |
attila@963 | 386 | |
attila@963 | 387 | #enable/disable code coverage; please redifine in the ${user.home}/.nashorn.project.local.properties |
lagergren@111 | 388 | make.code.coverage=false |
attila@963 | 389 | |
attila@963 | 390 | #type of codecoverage; one of static or dynamic. Now only dynamic is supported |
lagergren@111 | 391 | jcov=dynamic |
attila@963 | 392 | |
attila@963 | 393 | #naming of CC results |
attila@963 | 394 | #NB directory specified in the cc.dir will be cleaned up!!! |
lagergren@111 | 395 | cc.dir=${basedir}/../Codecoverage_Nashorn |
jlaskey@143 | 396 | cc.result.file.name=CC_${jcov}_nashorn.xml |
attila@963 | 397 | |
attila@963 | 398 | #dynamic CC parameters; please redefine in the ${user.home}/.nashorn.project.local.properties |
lagergren@111 | 399 | jcov2.lib.dir=${basedir}/../jcov2/lib |
lagergren@111 | 400 | jcov.jar=${jcov2.lib.dir}/jcov.jar |
lagergren@111 | 401 | cc.include=jdk\.nashorn\.* |
lagergren@111 | 402 | cc.exclude=jdk\.nashorn\.internal\.scripts\.* |
jlaskey@143 | 403 | cc.dynamic.genereate.template=true |
jlaskey@143 | 404 | cc.template=${cc.dir}/CC_template.xml |
lagergren@111 | 405 | cc.dynamic.args=-javaagent:${jcov.jar}=include=${cc.include},exclude=${cc.exclude},type=all,verbose=0,file=${cc.dir}/${cc.result.file.name} |