jlaskey@3: # jlaskey@7: # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. jlaskey@3: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jlaskey@3: # jlaskey@3: # This code is free software; you can redistribute it and/or modify it jlaskey@3: # under the terms of the GNU General Public License version 2 only, as jlaskey@3: # published by the Free Software Foundation. jlaskey@3: # jlaskey@3: # This code is distributed in the hope that it will be useful, but WITHOUT jlaskey@3: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jlaskey@3: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jlaskey@3: # version 2 for more details (a copy is included in the LICENSE file that jlaskey@3: # accompanied this code). jlaskey@3: # jlaskey@3: # You should have received a copy of the GNU General Public License version jlaskey@3: # 2 along with this work; if not, write to the Free Software Foundation, jlaskey@3: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jlaskey@3: # jlaskey@3: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA jlaskey@3: # or visit www.oracle.com if you need additional information or have any jlaskey@3: # questions. jlaskey@3: # jlaskey@3: jlaskey@3: application.title=nashorn jlaskey@3: sundar@10: # location of JDK embedded ASM sources sundar@128: jdk.asm.src.dir=../jdk/src/share/classes/jdk/internal/org/objectweb/asm sundar@10: jlaskey@3: # source and target levels jlaskey@3: build.compiler=modern jlaskey@3: javac.source=1.7 jlaskey@3: javac.target=1.7 jlaskey@3: jlaskey@3: # nashorn version information jlaskey@3: nashorn.version=0.1 jlaskey@3: nashorn.fullversion=0.1 jlaskey@3: nashorn.product.name=Oracle Nashorn jlaskey@3: jlaskey@3: # This directory is removed when the project is cleaned: jlaskey@3: build.dir=build jlaskey@3: build.classes.dir=${build.dir}/classes jlaskey@3: build.zip=${build.dir}/nashorn.zip jlaskey@3: build.gzip=${build.dir}/nashorn.tar.gz jlaskey@3: jlaskey@3: # nashorn Shell tool jlaskey@3: nashorn.shell.tool=jdk.nashorn.tools.Shell jlaskey@3: jlaskey@3: # nasgen tool jlaskey@3: nasgen.tool=jdk.nashorn.internal.tools.nasgen.Main jlaskey@3: jlaskey@3: # parallel test runner tool jlaskey@3: parallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner jlaskey@3: jlaskey@3: # test classes directory jlaskey@3: build.test.classes.dir=${build.dir}/test/classes sundar@77: # nashorn test jar - internal tests jar and api tests jar sundar@77: nashorn.internal.tests.jar=${build.dir}/nashorn-internal-tests.jar sundar@77: nashorn.api.tests.jar=${build.dir}/nashorn-api-tests.jar sundar@77: jlaskey@3: # test results directory jlaskey@3: build.test.results.dir=${build.dir}/test/reports jlaskey@3: jlaskey@3: # This directory is removed when the project is cleaned: jlaskey@3: dist.dir=dist jlaskey@3: dist.jar=${dist.dir}/nashorn.jar jlaskey@3: dist.javadoc.dir=${dist.dir}/javadoc jlaskey@3: jlaskey@161: # nashorn javafx shell jlaskey@161: fxshell.tool = jdk.nashorn.tools.FXShell jlaskey@161: fxshell.classes.dir = ${build.dir}/fxshell/classes jlaskey@161: fxshell.dir = tools/fxshell jlaskey@161: fxshell.jar = ${dist.dir}/nashornfx.jar jlaskey@161: jlaskey@3: # jars refererred jlaskey@3: file.reference.testng.jar=test/lib/testng.jar jlaskey@3: jlaskey@3: # Set testng verbose level jlaskey@3: # From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed) jlaskey@3: # Actually, this is a lie: you can specify -1 and this will put TestNG in jlaskey@3: # debug mode (no longer slicing off stack traces and all)." jlaskey@3: jlaskey@3: testng.verbose=2 jlaskey@3: jlaskey@3: # TestNG listeners - we want to replace TestNG's own JUnit jlaskey@3: # reporter, but want everything else provided by default jlaskey@3: # Unfortunately, we've to clone the other default reporters here. jlaskey@3: jlaskey@3: testng.listeners=\ jlaskey@3: org.testng.reporters.SuiteHTMLReporter, \ sundar@300: org.testng.reporters.TestHTMLReporter, \ jlaskey@3: org.testng.reporters.jq.Main, \ jlaskey@3: org.testng.reporters.FailedReporter, \ jlaskey@3: org.testng.reporters.XMLReporter \ jlaskey@3: org.testng.reporters.EmailableReporter, \ jlaskey@3: jdk.nashorn.internal.test.framework.JSJUnitReportReporter jlaskey@3: jlaskey@3: javac.debug=true jlaskey@3: javac.encoding=ascii jlaskey@3: javac.classpath=\ attila@90: ${build.classes.dir} jlaskey@3: javac.test.classpath=\ jlaskey@3: ${build.classes.dir}:\ jlaskey@3: ${build.test.classes.dir}:\ jlaskey@3: ${file.reference.testng.jar} jlaskey@3: jlaskey@3: meta.inf.dir=${src.dir}/META-INF jlaskey@3: jlaskey@3: run.classpath=\ jlaskey@3: ${build.classes.dir} jlaskey@3: jlaskey@3: # test scripts to run jlaskey@3: test.dir=test jlaskey@3: test.script.dir=test/script jlaskey@3: test.basic.dir=test/script/basic jlaskey@3: test.error.dir=test/script/error jlaskey@3: test.sandbox.dir=test/script/sandbox sundar@77: test.trusted.dir=test/script/trusted jlaskey@3: test.external.dir=test/script/external jlaskey@3: test262.dir=${test.external.dir}/test262 jlaskey@3: test262.suite.dir=${test262.dir}/test/suite kshefov@638: testjfx.dir=${test.script.dir}/jfx jlaskey@3: jlaskey@3: test-sys-prop.test.dir=${test.dir} sundar@77: test-sys-prop.test.js.roots=${test.basic.dir} ${test.error.dir} ${test.sandbox.dir} ${test.trusted.dir} jlaskey@3: test-sys-prop.test262.suite.dir=${test262.suite.dir} jlaskey@3: test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases jlaskey@3: test-sys-prop.test.basic.dir=${test.basic.dir} jlaskey@3: jlaskey@3: # framework root for our script tests jlaskey@3: test-sys-prop.test.js.framework=${test.script.dir}/assert.js jlaskey@3: jlaskey@3: # Control the verbosity of ParserTest jlaskey@3: test-sys-prop.parsertest.verbose=false jlaskey@3: jlaskey@3: # turn on/off scripting mode for parser tests jlaskey@3: test-sys-prop.parsertest.scripting=true jlaskey@3: jlaskey@3: # turn on/off test262 scripts for parser tests jlaskey@3: test-sys-prop.parsertest.test262=false jlaskey@3: jlaskey@3: # Control the verbosity of the CompilerTest jlaskey@3: test-sys-prop.compilertest.verbose=false jlaskey@3: jlaskey@3: # turn on/off scripting mode for compiler tests jlaskey@3: test-sys-prop.compilertest.scripting=true jlaskey@3: jlaskey@3: # turn on/off test262 scripts for compiler tests jlaskey@3: test-sys-prop.compilertest.test262=false jlaskey@3: jlaskey@3: # test directory to be excluded. jlaskey@3: test-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir} jlaskey@3: jlaskey@3: # run everything that's js in here, without checking file headers for test annotations jlaskey@3: test-sys-prop.test.js.unchecked.dir=${test262.dir} jlaskey@3: jlaskey@3: # test root for octane sundar@19: octane-test-sys-prop.test.js.roots=${test.external.dir}/octane/ jlaskey@3: sundar@25: # run octane benchmars in separate processes? sundar@25: octane-test-sys-prop.separate.process=true sundar@25: jlaskey@3: # framework root for octane jlaskey@3: octane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js jlaskey@3: jlaskey@3: # list of tests to be excluded sundar@25: # mandreel excluded due to OOM sundar@21: octane-test-sys-prop.test.js.exclude.list=\ sundar@21: base.js \ sundar@25: run.js \ sundar@25: mandreel.js jlaskey@3: jlaskey@3: # test root for sunspider sundar@19: sunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/tests/sunspider-1.0/ jlaskey@3: jlaskey@3: # framework root for sunspider jlaskey@3: sunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js jlaskey@3: jlaskey@3: # list of tests to be excluded jlaskey@3: sunspider-test-sys-prop.test.js.exclude.list= jlaskey@3: jlaskey@3: # execute our script tests in shared nashorn context or not? jlaskey@3: test-sys-prop.test.js.shared.context=false jlaskey@3: jlaskey@3: # execute test262 tests in shared nashorn context or not? jlaskey@3: test262-test-sys-prop.test.js.shared.context=true jlaskey@3: jlaskey@3: # test262 test root jlaskey@3: test262-test-sys-prop.test.js.roots=${test262.suite.dir} jlaskey@3: # test262 enable/disable strict mode tests jlaskey@3: test262-test-sys-prop.test.js.enable.strict.mode=true jlaskey@3: jlaskey@3: # file containing test262 tests to be excluded jlaskey@3: # test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml jlaskey@3: jlaskey@3: # list of test262 test dirs to be excluded jlaskey@3: test262-test-sys-prop.test.js.exclude.dir=\ sundar@351: ${test262.suite.dir}/intl402/ \ sundar@351: ${test262.suite.dir}/bestPractice/ jlaskey@3: attila@255: test262-test-sys-prop.test.failed.list.file=${build.dir}/test/failedTests attila@255: jlaskey@3: # test262 test frameworks jlaskey@3: test262-test-sys-prop.test.js.framework=\ sundar@418: --class-cache-size=0 \ sundar@418: --no-java \ sundar@418: --no-typed-arrays \ jlaskey@3: -timezone=PST \ jlaskey@3: ${test.script.dir}/test262.js \ jlaskey@3: ${test262.dir}/test/harness/framework.js \ jlaskey@3: ${test262.dir}/test/harness/sta.js jlaskey@3: kshefov@638: # testjfx test root kshefov@638: testjfx-test-sys-prop.test.js.roots=${testjfx.dir} kshefov@638: kshefov@638: # execute testjfx tests in shared nashorn context or not? kshefov@638: testjfx-test-sys-prop.test.js.shared.context=false kshefov@638: kshefov@638: # framework root for our script tests kshefov@638: testjfx-test-sys-prop.test.js.framework=\ kshefov@638: -fx \ kshefov@638: ${test.script.dir}${file.separator}jfx.js kshefov@638: kshefov@638: file.reference.jemmyfx.jar=test${file.separator}lib${file.separator}JemmyFX.jar kshefov@638: file.reference.jemmycore.jar=test${file.separator}lib${file.separator}JemmyCore.jar kshefov@638: file.reference.jemmyawtinput.jar=test${file.separator}lib${file.separator}JemmyAWTInput.jar kshefov@638: file.reference.jfxrt.jar=${java.home}${file.separator}lib${file.separator}ext${file.separator}jfxrt.jar kshefov@638: testjfx.run.test.classpath=\ kshefov@638: ${file.reference.jemmyfx.jar}${path.separator}\ kshefov@638: ${file.reference.jemmycore.jar}${path.separator}\ kshefov@638: ${file.reference.jemmyawtinput.jar}${path.separator}\ kshefov@638: ${file.reference.testng.jar}${path.separator}\ kshefov@638: ${nashorn.internal.tests.jar}${path.separator}\ kshefov@667: ${nashorn.api.tests.jar} kshefov@638: kshefov@638: # testjfx VM options for script tests with @fork option kshefov@638: testjfx-test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${testjfx.run.test.classpath} kshefov@638: jlaskey@3: run.test.classpath=\ jlaskey@3: ${file.reference.testng.jar}:\ sundar@77: ${nashorn.internal.tests.jar}:\ sundar@77: ${nashorn.api.tests.jar} sundar@77: jlaskey@3: src.dir=src jlaskey@3: test.src.dir=test/src jlaskey@3: hannesw@562: # -Xmx is used for all tests, -Xms only for octane benchmark sundar@37: run.test.xmx=3G sundar@37: run.test.xms=2G sundar@37: sundar@293: run.test.user.language=tr sundar@293: run.test.user.country=TR sundar@293: hannesw@562: run.test.jvmargs.common=-server -XX:+TieredCompilation -Dfile.encoding=UTF-8 -Duser.language=${run.test.user.language} -Duser.country=${run.test.user.country} -XX:+HeapDumpOnOutOfMemoryError sundar@492: sundar@492: #-XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M sundar@492: # -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMethods sundar@492: sundar@492: # turn on assertions for tests sundar@492: run.test.jvmargs.main=${run.test.jvmargs.common} -ea sundar@293: sundar@489: #-XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M hannesw@562: run.test.jvmargs.octane.main=${run.test.jvmargs.common} jlaskey@3: sundar@590: run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy jlaskey@3: sundar@476: # VM options for script tests with @fork option hannesw@562: test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} sundar@476: jlaskey@3: # path of rhino.jar for benchmarks jlaskey@3: rhino.jar= jlaskey@3: jlaskey@3: v8.shell=d8 jlaskey@3: jlaskey@3: #path to rhino jar file jlaskey@3: octaneperf-sys-prop.rhino.jar=${rhino.jar} jlaskey@3: jlaskey@3: #timeout for performance tests in minutes jlaskey@3: octaneperf-sys-prop.timeout.value=10 lagergren@111: lagergren@111: ################ lagergren@111: # codecoverage # lagergren@111: ################ lagergren@111: #enable/disable code coverage; please redifine in the ${user.home}/.nashorn.project.local.properties lagergren@111: make.code.coverage=false lagergren@111: #type of codecoverage; one of static or dynamic. Now only dynamic is supported lagergren@111: jcov=dynamic lagergren@111: #naming of CC results lagergren@111: #NB directory specified in the cc.dir will be cleaned up!!! lagergren@111: cc.dir=${basedir}/../Codecoverage_Nashorn jlaskey@143: cc.result.file.name=CC_${jcov}_nashorn.xml lagergren@111: #dynamic CC parameters; please redefine in the ${user.home}/.nashorn.project.local.properties lagergren@111: jcov2.lib.dir=${basedir}/../jcov2/lib lagergren@111: jcov.jar=${jcov2.lib.dir}/jcov.jar lagergren@111: cc.include=jdk\.nashorn\.* lagergren@111: cc.exclude=jdk\.nashorn\.internal\.scripts\.* jlaskey@143: cc.dynamic.genereate.template=true jlaskey@143: cc.template=${cc.dir}/CC_template.xml lagergren@111: cc.dynamic.args=-javaagent:${jcov.jar}=include=${cc.include},exclude=${cc.exclude},type=all,verbose=0,file=${cc.dir}/${cc.result.file.name}