make/project.properties

Wed, 20 Aug 2014 10:26:01 +0200

author
attila
date
Wed, 20 Aug 2014 10:26:01 +0200
changeset 963
e2497b11a021
parent 891
1deaea7f4fef
child 1036
8a99ee1fb375
permissions
-rw-r--r--

8027043: Turn global accesses into MethodHandle.constant, with one chance of reassignment, e.g. x = value occuring once in the global scope is ok, twice is not.
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
8028345: Remove nashorn repo "bin" scripts to avoid confusion with JDK bin launcher programs
8029090: Developers should be able to pass nashorn properties and enable/disable JFR from command line
8030169: Need regression test for bug JDK-8010731
8033105: Make sure Nashorn test harness can run zlib benchmark
8033334: Make sure that scope depth information is maintained in the RecompilableScriptFunctionDatas, to avoid unnecessary slow proto linkage when doing on demand compilation
8034206: Make parts of code pipeline reusable in order to facilitate faster warmup and faster lazy compilation.
8035820: Optimistic recompilation
8035836: Array performance improvements
8036127: Prototype filter needs to be applied to getter guard as well, not just getter
8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one.
8037086: Check that deoptimizing recompilations are correct
8037177: -Dnashorn.optimistic should be enabled by default, meaning that it has to be explicitly set to false to run with the jdk 8 style conservative types
8037534: Use scope types to determine optimistic types
8037572: Add more test cases to check static types
8037967: Broke the build, by commiting without saving the last review comment
8038223: Symbol trace debug output takes time
8038396: fix for the compiler expression evaluator to be more inquisitive about types
8038398: OptimisticRecompilationTest fails on staging repo nashorn/jdk9/nashorn due to test framework
8038406: Testability: as a first step of moving loggers away from the process global space, the Debug object now supports logging POJOs from log entries as an event queue, which can be introspected from test scripts. This is way better than screen scraping brittle and subject-to-change log output.
8038413: NPE in unboxInteger
8038416: Access to undefined scoped variables deoptimized too much
8038426: Move all loggers from process wide scope into Global scope
8038799: Guard and unbox boxed primitives types on setting them in Properties to avoid megamorphisism
8038945: Simplify strict undefined checks
8039044: Expand undefined intrinsics for all commutative combinators of scrict undefined checks
8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
8040024: BranchOptimizer produces bad code for NaN FP comparison
8040089: Apply to call transform was incomplete. Now passes all tests and performance is back
8040093: Make sure that optimistic splitting works in optimistic types
8040102: Remove all references to Unsafe and definition of anonymous clases from the code
8040655: When processing a RewriteException debug object, the return value has already been reset to null. We need to catch this value before that.
8041434: Add synchronization to the common global constants structure
8041625: AccessorProperty currentType must only by Object.class when non-primitive, and scoping followup problem for lazily generated with bodies
8041905: Fix apply2call bug that prevented avatar.js unit tests from running correctly
8041995: Problems when loading tree expressions with several optimistic program points when optimistically initializing ObjectNodes
8042118: Separate types from symbols
8043002: Improve performance of Nashorn equality operators
8043003: Use strongly referenced generic invokers
8043004: Reduce variability at JavaAdapter call sites
8043132: Nashorn : all tests failed with java.security.AccessControlException
8043133: Fix corner cases of JDK-8041995
8043137: Collapse long sequences of NOP in Nashorn bytecode output
8043232: Index selection of overloaded java new constructors
8043235: Type-based optimizations interfere with continuation methods
8043431: Fix yet another corner case of JDK-8041995
8043504: Octane test harness was missing argument to print_always at one callsite, causing erroneous logging
8043605: Enable history for empty property maps
8043608: Make equality tests inline better
8043611: Move timing dependent benchmark for apply2call specialization to currently_failing. It is dependent that nothing takes machine time when doing the two runs, causing spurious assertions. Suggest running octane.raytrace manually instead to verify that this works, or incorporating it in the nightly test suite
8043632: Parallelize class installation and various script fixes.
8043633: In order to remove global state outside of contexts, make sure Timing class is an instance and not a static global collection of data. Move into Context. Move -Dnashorn.timing to an official logging option.
8043956: Make code caching work with optimistic typing and lazy compilation
8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
8044154: Nashorn : all tests failed with java.security.AccessControlException
8044171: Make optimistic exception handlers smaller
8044502: Get rid of global optimistic flag
8044518: Ensure exceptions related to optimistic recompilation are not serializable
8044533: Deoptimizing negation produces wrong result for zero
8044534: Constant folding for unary + should produce int for boolean literals
8044760: Avoid PropertyMap duplicate for global instances
8044786: Some tests fail with non-optimistic compilation
8044803: Unnecessary restOf check
8044816: On-demand compiled top-level program doesn't need :createProgramFunction
8044851: nashorn properties leak memory
8046013: TypeError: Cannot apply "with" to non script object
8046014: MultiGlobalCompiledScript should cache :createProgramFunction handle
8046025: AccessorProperty.getGetter is not threadsafe
8046026: CompiledFunction.relinkComposableInvoker assert is being hit
8046201: Avoid repeated flattening of nested ConsStrings
8046215: Running uncompilable scripts throws NullPointerException
8046898: Make sure that lazy compilation is the default, remove redundant "enable lazy compilation" flags, added warning message if compile logging is enabled and lazy is switched off. Verified existing test suite code coverage equivalence between lazy and eager.
8046905: apply on apply is broken
8046921: Deoptimization type information peristence
8047035: (function() "hello")() crashes in Lexer with jdk9
8047057: Add a regression test for the passing test cases from JDK-8042304
8047067: all eval arguments need to be copied in Lower
8047078: Fuzzing bug discovered when ArrayLiteralNodes weren't immutable
8047166: 'do with({}) break ; while(0);' crashes in CodeGenerator
8047331: Assertion in CompiledFunction when running earley-boyer after Merge
8047357: More precise synthetic return + unreachable throw
8047359: large string size RangeError should be thrown rather than reporting negative length
8047369: Add regression tests for passing test cases of JDK-8024971
8047371: local variable declaration in TypeEvaluator should use ScriptObject.addOwnProperty instead of .set
8047728: (function(x){var o={x:0}; with(o){delete x} return o.x})() evaluates to 0 instead of undefined
8047959: bindings created for declarations in eval code are not mutable
8048009: Type info caching accidentally defeated
8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
8048079: Persistent code store is broken after optimistic types merge
8048505: ScriptingFunctions.readFully couldn't handle file names represented as ConsStrings
8048586: String concatenation with optimistic types is slow
8048718: JSON.parse('{"0":0, "64":0}') throws ArrayindexOutOfBoundsException
8048869: Reduce compile time by about 5% by removing the Class.casts from the AST nodes
8049086: Minor API convenience functions on "Java" object
8049222: JSType class exposes public mutable arrays
8049223: RewriteException class exposes public mutable arrays
8049242: Explicit constructor overload selection should work with StaticClass as well
8049318: Test hideLocationProperties.js fails on Window due to backslash in path
8049524: Global object initialization via javax.script API should be minimal
8050432: javax.script.filename variable should not be enumerable with nashorn engine's ENGINE_SCOPE bindings
8050964: OptimisticTypesPersistence.java should use java.util.Date instead of java.sql.Date
8051019: Separate src and test execution sandbox directories
8051346: Test262 tests for ECMAScript 5 now in branch "es5-tests"
8051439: Wrong type calculated for ADD operator with undefined operand
8051839: GuardedInvocation needs to clone an argument
8053908: jdeps is not PATH on Mac, results in ant clean test failure on Mac
8053910: ScriptObjectMirror causing havoc with Invocation interface
8053913: Auto format caused warning in CompositeTypeBasedGuardingDynamicLinker
8054223: Nashorn: AssertionError when use __DIR__ and ScriptEngine.eval()
8054411: Add nashorn.args.prepend system property
8054503: test/script/external/test262/test/suite/ch12/12.6/12.6.4/12.6.4-2.js fails with tip
8054651: Global.initConstructor and ScriptFunction.getPrototype(Object) can have stricter types
8054898: Avoid creation of empty type info files
8054993: type info cache may be disabled for test262 and tests explicitly changing that property should use @fork
8055034: jjs exits interactive mode if exception was thrown when trying to print value of last evaluated expression
8055042: Compile-time expression evaluator was missing variables
8055107: Extension directives to turn on callsite profiling, tracing, AST print and other debug features locally
8055139: test/script/trusted/JDK-8055107.js fails with access control exception
8055186: Backport Nashorn optimistic typing to 8u repository
8055529: Clean up the bin directory
Reviewed-by: jlaskey, lagergren, sundar
Contributed-by: marcus.largergren@oracle.com, hannes.wallnoefer@oracle.com, sundararajan.athijegannathan@oracle.com

jlaskey@3 1 #
attila@963 2 # Copyright (c) 2010, 2014, 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
jlaskey@3 33
jlaskey@3 34 # nashorn version information
jlaskey@3 35 nashorn.version=0.1
jlaskey@3 36 nashorn.fullversion=0.1
jlaskey@3 37 nashorn.product.name=Oracle Nashorn
jlaskey@3 38
jlaskey@3 39 # This directory is removed when the project is cleaned:
jlaskey@3 40 build.dir=build
jlaskey@3 41 build.classes.dir=${build.dir}/classes
jlaskey@3 42 build.zip=${build.dir}/nashorn.zip
jlaskey@3 43 build.gzip=${build.dir}/nashorn.tar.gz
jlaskey@3 44
jlaskey@3 45 # nashorn Shell tool
jlaskey@3 46 nashorn.shell.tool=jdk.nashorn.tools.Shell
jlaskey@3 47
jlaskey@3 48 # nasgen tool
jlaskey@3 49 nasgen.tool=jdk.nashorn.internal.tools.nasgen.Main
jlaskey@3 50
jlaskey@3 51 # parallel test runner tool
jlaskey@3 52 parallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner
jlaskey@3 53
jlaskey@3 54 # test classes directory
jlaskey@3 55 build.test.classes.dir=${build.dir}/test/classes
attila@963 56
sundar@77 57 # nashorn test jar - internal tests jar and api tests jar
sundar@77 58 nashorn.internal.tests.jar=${build.dir}/nashorn-internal-tests.jar
sundar@77 59 nashorn.api.tests.jar=${build.dir}/nashorn-api-tests.jar
sundar@77 60
jlaskey@3 61 # test results directory
jlaskey@3 62 build.test.results.dir=${build.dir}/test/reports
sundar@855 63 build.nosecurity.test.results.dir=${build.dir}/test/nosecurity/reports
attila@963 64 build.nooptimistic.test.results.dir=${build.dir}/test/nooptimistic/reports
jlaskey@3 65
jlaskey@3 66 # This directory is removed when the project is cleaned:
jlaskey@3 67 dist.dir=dist
jlaskey@3 68 dist.jar=${dist.dir}/nashorn.jar
jlaskey@3 69 dist.javadoc.dir=${dist.dir}/javadoc
jlaskey@3 70
jlaskey@161 71 # nashorn javafx shell
jlaskey@161 72 fxshell.tool = jdk.nashorn.tools.FXShell
jlaskey@161 73 fxshell.classes.dir = ${build.dir}/fxshell/classes
jlaskey@161 74 fxshell.dir = tools/fxshell
jlaskey@161 75 fxshell.jar = ${dist.dir}/nashornfx.jar
jlaskey@161 76
attila@963 77 # configuration for java flight recorder
attila@963 78 run.test.jvmargs.jfr=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128
attila@963 79
jlaskey@3 80 # jars refererred
jlaskey@3 81 file.reference.testng.jar=test/lib/testng.jar
jlaskey@3 82
jlaskey@3 83 # Set testng verbose level
jlaskey@3 84 # From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed)
jlaskey@3 85 # Actually, this is a lie: you can specify -1 and this will put TestNG in
jlaskey@3 86 # debug mode (no longer slicing off stack traces and all)."
jlaskey@3 87
jlaskey@3 88 testng.verbose=2
jlaskey@3 89
jlaskey@3 90 # TestNG listeners - we want to replace TestNG's own JUnit
jlaskey@3 91 # reporter, but want everything else provided by default
jlaskey@3 92 # Unfortunately, we've to clone the other default reporters here.
jlaskey@3 93
jlaskey@3 94 testng.listeners=\
jlaskey@3 95 org.testng.reporters.SuiteHTMLReporter, \
sundar@300 96 org.testng.reporters.TestHTMLReporter, \
jlaskey@3 97 org.testng.reporters.jq.Main, \
jlaskey@3 98 org.testng.reporters.FailedReporter, \
jlaskey@3 99 org.testng.reporters.XMLReporter \
jlaskey@3 100 org.testng.reporters.EmailableReporter, \
jlaskey@3 101 jdk.nashorn.internal.test.framework.JSJUnitReportReporter
jlaskey@3 102
jlaskey@3 103 javac.debug=true
jlaskey@3 104 javac.encoding=ascii
jlaskey@3 105 javac.classpath=\
attila@90 106 ${build.classes.dir}
jlaskey@3 107 javac.test.classpath=\
jlaskey@3 108 ${build.classes.dir}:\
jlaskey@3 109 ${build.test.classes.dir}:\
jlaskey@3 110 ${file.reference.testng.jar}
jlaskey@3 111
jlaskey@3 112 meta.inf.dir=${src.dir}/META-INF
jlaskey@3 113
jlaskey@3 114 run.classpath=\
jlaskey@3 115 ${build.classes.dir}
jlaskey@3 116
jlaskey@3 117 # test scripts to run
jlaskey@3 118 test.dir=test
sundar@855 119 test.nosecurity.dir=test/script/nosecurity
jlaskey@3 120 test.script.dir=test/script
jlaskey@3 121 test.basic.dir=test/script/basic
sundar@762 122 test.maptests.dir=test/script/maptests
jlaskey@3 123 test.error.dir=test/script/error
jlaskey@3 124 test.sandbox.dir=test/script/sandbox
sundar@77 125 test.trusted.dir=test/script/trusted
jlaskey@3 126 test.external.dir=test/script/external
jlaskey@3 127 test262.dir=${test.external.dir}/test262
jlaskey@3 128 test262.suite.dir=${test262.dir}/test/suite
kshefov@638 129 testjfx.dir=${test.script.dir}/jfx
attila@963 130 testmarkdown.dir=${test.script.dir}/markdown
jlaskey@3 131
jlaskey@3 132 test-sys-prop.test.dir=${test.dir}
sundar@762 133 test-sys-prop.test.js.roots=${test.basic.dir} ${test.maptests.dir} ${test.error.dir} ${test.sandbox.dir} ${test.trusted.dir}
jlaskey@3 134 test-sys-prop.test262.suite.dir=${test262.suite.dir}
jlaskey@3 135 test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases
jlaskey@3 136 test-sys-prop.test.basic.dir=${test.basic.dir}
jlaskey@3 137
sundar@855 138 test-sys-prop-no-security.test.dir=${test.dir}
sundar@855 139 test-sys-prop-no-security.test.js.roots=${test.nosecurity.dir}
sundar@855 140
jlaskey@3 141 # framework root for our script tests
jlaskey@3 142 test-sys-prop.test.js.framework=${test.script.dir}/assert.js
sundar@855 143 test-sys-prop-no-security.test.js.framework=${test.script.dir}/assert.js
jlaskey@3 144
jlaskey@3 145 # Control the verbosity of ParserTest
jlaskey@3 146 test-sys-prop.parsertest.verbose=false
jlaskey@3 147
jlaskey@3 148 # turn on/off scripting mode for parser tests
jlaskey@3 149 test-sys-prop.parsertest.scripting=true
jlaskey@3 150
jlaskey@3 151 # turn on/off test262 scripts for parser tests
jlaskey@3 152 test-sys-prop.parsertest.test262=false
jlaskey@3 153
jlaskey@3 154 # Control the verbosity of the CompilerTest
jlaskey@3 155 test-sys-prop.compilertest.verbose=false
jlaskey@3 156
jlaskey@3 157 # turn on/off scripting mode for compiler tests
jlaskey@3 158 test-sys-prop.compilertest.scripting=true
jlaskey@3 159
jlaskey@3 160 # turn on/off test262 scripts for compiler tests
jlaskey@3 161 test-sys-prop.compilertest.test262=false
jlaskey@3 162
jlaskey@3 163 # test directory to be excluded.
jlaskey@3 164 test-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir}
jlaskey@3 165
jlaskey@3 166 # run everything that's js in here, without checking file headers for test annotations
jlaskey@3 167 test-sys-prop.test.js.unchecked.dir=${test262.dir}
jlaskey@3 168
jlaskey@3 169 # test root for octane
sundar@19 170 octane-test-sys-prop.test.js.roots=${test.external.dir}/octane/
jlaskey@3 171
attila@963 172 # run octane benchmars in separate processes? (recommended)
sundar@25 173 octane-test-sys-prop.separate.process=true
sundar@25 174
jlaskey@3 175 # framework root for octane
jlaskey@3 176 octane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js
jlaskey@3 177
jlaskey@3 178 # test root for sunspider
attila@963 179 sunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/tests/sunspider-1.0.2/
jlaskey@3 180
jlaskey@3 181 # framework root for sunspider
jlaskey@3 182 sunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js
jlaskey@3 183
jlaskey@3 184 # list of tests to be excluded
jlaskey@3 185 sunspider-test-sys-prop.test.js.exclude.list=
jlaskey@3 186
jlaskey@3 187 # execute our script tests in shared nashorn context or not?
jlaskey@3 188 test-sys-prop.test.js.shared.context=false
jlaskey@3 189
jlaskey@3 190 # execute test262 tests in shared nashorn context or not?
jlaskey@3 191 test262-test-sys-prop.test.js.shared.context=true
jlaskey@3 192
jlaskey@3 193 # test262 test root
jlaskey@3 194 test262-test-sys-prop.test.js.roots=${test262.suite.dir}
attila@963 195
jlaskey@3 196 # test262 enable/disable strict mode tests
jlaskey@3 197 test262-test-sys-prop.test.js.enable.strict.mode=true
jlaskey@3 198
jlaskey@3 199 # file containing test262 tests to be excluded
jlaskey@3 200 # test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml
jlaskey@3 201
jlaskey@3 202 # list of test262 test dirs to be excluded
jlaskey@3 203 test262-test-sys-prop.test.js.exclude.dir=\
sundar@351 204 ${test262.suite.dir}/intl402/ \
attila@963 205 ${test262.suite.dir}/bestPractice/
jlaskey@3 206
attila@255 207 test262-test-sys-prop.test.failed.list.file=${build.dir}/test/failedTests
attila@255 208
jlaskey@3 209 # test262 test frameworks
jlaskey@3 210 test262-test-sys-prop.test.js.framework=\
hannesw@769 211 --class-cache-size=10 \
sundar@418 212 --no-java \
sundar@418 213 --no-typed-arrays \
jlaskey@3 214 -timezone=PST \
jlaskey@3 215 ${test.script.dir}/test262.js \
jlaskey@3 216 ${test262.dir}/test/harness/framework.js \
jlaskey@3 217 ${test262.dir}/test/harness/sta.js
jlaskey@3 218
attila@963 219 # testmarkdown test root
attila@963 220 testmarkdown-test-sys-prop.test.js.roots=${testmarkdown.dir}
attila@963 221
attila@963 222 # execute testmarkdown tests in shared nashorn context or not?
attila@963 223 testmarkdown-test-sys-prop.test.js.shared.context=false
attila@963 224
attila@963 225 # framework root for markdown script tests
attila@963 226 testmarkdown-test-sys-prop.test.js.framework=\
attila@963 227 ${test.script.dir}${file.separator}markdown.js
attila@963 228
kshefov@638 229 # testjfx test root
attila@963 230 testjfx-test-sys-prop.test.js.roots=${testjfx.dir}
kshefov@638 231
kshefov@638 232 # execute testjfx tests in shared nashorn context or not?
kshefov@638 233 testjfx-test-sys-prop.test.js.shared.context=false
kshefov@638 234
kshefov@638 235 # framework root for our script tests
kshefov@638 236 testjfx-test-sys-prop.test.js.framework=\
kshefov@638 237 -fx \
kshefov@638 238 ${test.script.dir}${file.separator}jfx.js
kshefov@638 239
kshefov@638 240 file.reference.jemmyfx.jar=test${file.separator}lib${file.separator}JemmyFX.jar
kshefov@638 241 file.reference.jemmycore.jar=test${file.separator}lib${file.separator}JemmyCore.jar
kshefov@638 242 file.reference.jemmyawtinput.jar=test${file.separator}lib${file.separator}JemmyAWTInput.jar
kshefov@638 243 file.reference.jfxrt.jar=${java.home}${file.separator}lib${file.separator}ext${file.separator}jfxrt.jar
kshefov@638 244 testjfx.run.test.classpath=\
kshefov@638 245 ${file.reference.jemmyfx.jar}${path.separator}\
kshefov@638 246 ${file.reference.jemmycore.jar}${path.separator}\
kshefov@638 247 ${file.reference.jemmyawtinput.jar}${path.separator}\
kshefov@638 248 ${file.reference.testng.jar}${path.separator}\
kshefov@638 249 ${nashorn.internal.tests.jar}${path.separator}\
kshefov@667 250 ${nashorn.api.tests.jar}
kshefov@638 251
kshefov@638 252 # testjfx VM options for script tests with @fork option
kshefov@638 253 testjfx-test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${testjfx.run.test.classpath}
kshefov@638 254
jlaskey@3 255 run.test.classpath=\
jlaskey@3 256 ${file.reference.testng.jar}:\
sundar@77 257 ${nashorn.internal.tests.jar}:\
sundar@77 258 ${nashorn.api.tests.jar}
sundar@77 259
jlaskey@3 260 src.dir=src
jlaskey@3 261 test.src.dir=test/src
jlaskey@3 262
hannesw@562 263 # -Xmx is used for all tests, -Xms only for octane benchmark
mnunez@857 264 run.test.xmx=2G
sundar@37 265 run.test.xms=2G
sundar@37 266
attila@963 267 # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames,
attila@963 268 # or everything will as of the now drown in lambda forms and be cut off.
attila@963 269 #
attila@963 270 #jfr.args=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 \
attila@963 271
attila@963 272 jfr.args=
attila@963 273
sundar@293 274 run.test.user.language=tr
sundar@293 275 run.test.user.country=TR
sundar@293 276
attila@963 277 run.test.jvmargs.common=\
attila@963 278 -server \
attila@963 279 -Dfile.encoding=UTF-8 \
attila@963 280 -Duser.language=${run.test.user.language} \
attila@963 281 -Duser.country=${run.test.user.country} \
attila@963 282 -Dnashorn.typeInfo.cacheDir=${build.dir}${file.separator}test${file.separator}type_info_cache \
attila@963 283 ${jfr.args} \
attila@963 284 -XX:+HeapDumpOnOutOfMemoryError
sundar@492 285
sundar@492 286 # turn on assertions for tests
sundar@492 287 run.test.jvmargs.main=${run.test.jvmargs.common} -ea
sundar@293 288
attila@963 289 # extra jvmargs that might be useful for debugging
attila@963 290 #
attila@963 291 # -XX:+UnlockDiagnosticVMOptions
attila@963 292 #
attila@963 293 # turn off compressed class pointers in metaspace
attila@963 294 # -XX:-UseCompressedKlassPointers
attila@963 295 #
attila@963 296 # dump the heap after every GC
attila@963 297 # -XX:+PrintHeapAtGC
attila@963 298 #
attila@963 299 # manually set a metaspace size for class data
attila@963 300 # -XX:ClassMetaspaceSize=300M
attila@963 301 #
attila@963 302 # print out methods compiled
attila@963 303 # -XX:+PrintCompilation
attila@963 304 #
attila@963 305 # print all compiled nmethods with oopmaps and lots of other info
attila@963 306 # -XX:+PrintNMethods
jlaskey@3 307
attila@963 308 # Use best known performance options for octane
attila@963 309 run.test.jvmargs.octane.main=${run.test.jvmargs.common} -XX:+UnlockDiagnosticVMOptions -XX:+UseNewCode -XX:TypeProfileLevel=222
attila@963 310
attila@963 311 # Security manager args - make sure that we run with the nashorn.policy that the build creates
attila@963 312 run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${build.dir}/nashorn.policy
jlaskey@3 313
sundar@476 314 # VM options for script tests with @fork option
sundar@762 315 test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -cp ${run.test.classpath}
sundar@476 316
jlaskey@3 317 # path of rhino.jar for benchmarks
attila@963 318 rhino.dir=
attila@963 319 rhino.jar=${rhino.dir}/js.jar
jlaskey@3 320
jlaskey@3 321 v8.shell=d8
jlaskey@3 322
attila@963 323 # How many iterations should 'ant octane' run for each
attila@963 324 # benchmark
attila@963 325 octane.iterations=25
attila@963 326
attila@963 327 # List of octane tests to run, as properties prefixed with
attila@963 328 # "octane.benchmark." mapping to the benchmark name in
attila@963 329 # the test harness
attila@963 330 #
attila@963 331 # Octane tests that are disabled should have their entire line
attila@963 332 # commented out Tests may be disabled for functionality reasons when
attila@963 333 # they have bugs or when the runtime doesn't handle them (yet)
attila@963 334 octane.benchmark.box2d=box2d
attila@963 335 #octane.benchmark.code-load=code-load
attila@963 336 octane.benchmark.crypto=crypto
attila@963 337 octane.benchmark.deltablue=deltablue
attila@963 338 octane.benchmark.earley-boyer=earley-boyer
attila@963 339 octane.benchmark.gbemu=gbemu
attila@963 340 octane.benchmark.navier-stokes=navier-stokes
attila@963 341 octane.benchmark.mandreel=mandreel
attila@963 342 octane.benchmark.pdfjs=pdfjs
attila@963 343 octane.benchmark.raytrace=raytrace
attila@963 344 octane.benchmark.regexp=regexp
attila@963 345 octane.benchmark.richards=richards
attila@963 346 octane.benchmark.splay=splay
attila@963 347 #octane.benchmark.typescript=typescript
attila@963 348 #octane.benchmark.zlib=zlib
attila@963 349
jlaskey@3 350 #path to rhino jar file
jlaskey@3 351 octaneperf-sys-prop.rhino.jar=${rhino.jar}
jlaskey@3 352
jlaskey@3 353 #timeout for performance tests in minutes
jlaskey@3 354 octaneperf-sys-prop.timeout.value=10
lagergren@111 355
attila@963 356 #how many iterations to run sunspider after warmup
attila@963 357 sunspider.iterations=3000
attila@963 358
attila@963 359 #################
attila@963 360 # code coverage #
attila@963 361 #################
attila@963 362
attila@963 363 #enable/disable code coverage; please redifine in the ${user.home}/.nashorn.project.local.properties
lagergren@111 364 make.code.coverage=false
attila@963 365
attila@963 366 #type of codecoverage; one of static or dynamic. Now only dynamic is supported
lagergren@111 367 jcov=dynamic
attila@963 368
attila@963 369 #naming of CC results
attila@963 370 #NB directory specified in the cc.dir will be cleaned up!!!
lagergren@111 371 cc.dir=${basedir}/../Codecoverage_Nashorn
jlaskey@143 372 cc.result.file.name=CC_${jcov}_nashorn.xml
attila@963 373
attila@963 374 #dynamic CC parameters; please redefine in the ${user.home}/.nashorn.project.local.properties
lagergren@111 375 jcov2.lib.dir=${basedir}/../jcov2/lib
lagergren@111 376 jcov.jar=${jcov2.lib.dir}/jcov.jar
lagergren@111 377 cc.include=jdk\.nashorn\.*
lagergren@111 378 cc.exclude=jdk\.nashorn\.internal\.scripts\.*
jlaskey@143 379 cc.dynamic.genereate.template=true
jlaskey@143 380 cc.template=${cc.dir}/CC_template.xml
lagergren@111 381 cc.dynamic.args=-javaagent:${jcov.jar}=include=${cc.include},exclude=${cc.exclude},type=all,verbose=0,file=${cc.dir}/${cc.result.file.name}

mercurial