project.properties revision 2:da1e581c933b
1# 2# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# This code is free software; you can redistribute it and/or modify it 6# under the terms of the GNU General Public License version 2 only, as 7# published by the Free Software Foundation. 8# 9# This code is distributed in the hope that it will be useful, but WITHOUT 10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12# version 2 for more details (a copy is included in the LICENSE file that 13# accompanied this code). 14# 15# You should have received a copy of the GNU General Public License version 16# 2 along with this work; if not, write to the Free Software Foundation, 17# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18# 19# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20# or visit www.oracle.com if you need additional information or have any 21# questions. 22# 23 24application.title=nashorn 25 26# source and target levels 27build.compiler=modern 28javac.source=1.7 29javac.target=1.7 30 31# nashorn version information 32nashorn.version=0.1 33nashorn.fullversion=0.1 34nashorn.product.name=Oracle Nashorn 35 36# This directory is removed when the project is cleaned: 37build.dir=build 38build.classes.dir=${build.dir}/classes 39build.zip=${build.dir}/nashorn.zip 40build.gzip=${build.dir}/nashorn.tar.gz 41 42# nashorn Shell tool 43nashorn.shell.tool=jdk.nashorn.tools.Shell 44 45# nasgen tool 46nasgen.tool=jdk.nashorn.internal.tools.nasgen.Main 47 48# parallel test runner tool 49parallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner 50 51# test classes directory 52build.test.classes.dir=${build.dir}/test/classes 53# test results directory 54build.test.results.dir=${build.dir}/test/reports 55 56# This directory is removed when the project is cleaned: 57dist.dir=dist 58dist.jar=${dist.dir}/nashorn.jar 59dist.javadoc.dir=${dist.dir}/javadoc 60 61# directory where asm project lives 62asm.dir=../asm 63asm.src.dir=${asm.dir}/src 64 65# jars refererred 66file.reference.testng.jar=test/lib/testng.jar 67 68# Set testng verbose level 69# From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed) 70# Actually, this is a lie: you can specify -1 and this will put TestNG in 71# debug mode (no longer slicing off stack traces and all)." 72 73testng.verbose=2 74 75# TestNG listeners - we want to replace TestNG's own JUnit 76# reporter, but want everything else provided by default 77# Unfortunately, we've to clone the other default reporters here. 78 79testng.listeners=\ 80 org.testng.reporters.SuiteHTMLReporter, \ 81 org.testng.reporters.jq.Main, \ 82 org.testng.reporters.FailedReporter, \ 83 org.testng.reporters.XMLReporter \ 84 org.testng.reporters.EmailableReporter, \ 85 jdk.nashorn.internal.test.framework.JSJUnitReportReporter 86 87# Define the version of Dynalink that is used. Version types are either 88# 'snapshot' or 'release'. When it is 'snapshot', the version must have 89# "-SNAPSHOT" suffix and the jar version will have a timestamp in it. When 90# it's 'release', the version has no suffix, and the jar version is 91# identical to version - fun with Maven central. 92dynalink.version=0.5-SNAPSHOT 93dynalink.version.type=snapshot 94dynalink.jar.version=0.5-20121218.140128-11 95dynalink.dir.name=dynalink 96dynalink.dir=build/${dynalink.dir.name} 97dynalink.jar=${dynalink.dir}/dynalink.jar 98 99javac.debug=true 100javac.encoding=ascii 101javac.classpath=\ 102 ${build.classes.dir}:\ 103 ${dynalink.jar} 104javac.test.classpath=\ 105 ${build.classes.dir}:\ 106 ${build.test.classes.dir}:\ 107 ${file.reference.testng.jar} 108 109meta.inf.dir=${src.dir}/META-INF 110 111run.classpath=\ 112 ${build.classes.dir} 113 114# test scripts to run 115test.dir=test 116test.script.dir=test/script 117test.basic.dir=test/script/basic 118test.error.dir=test/script/error 119test.sandbox.dir=test/script/sandbox 120test.external.dir=test/script/external 121test262.dir=${test.external.dir}/test262 122test262.suite.dir=${test262.dir}/test/suite 123 124test-sys-prop.test.dir=${test.dir} 125test-sys-prop.test.js.roots=${test.basic.dir} ${test.error.dir} ${test.sandbox.dir} 126test-sys-prop.test262.suite.dir=${test262.suite.dir} 127test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases 128test-sys-prop.test.basic.dir=${test.basic.dir} 129 130# framework root for our script tests 131test-sys-prop.test.js.framework=${test.script.dir}/assert.js 132 133# Control the verbosity of ParserTest 134test-sys-prop.parsertest.verbose=false 135 136# turn on/off scripting mode for parser tests 137test-sys-prop.parsertest.scripting=true 138 139# turn on/off test262 scripts for parser tests 140test-sys-prop.parsertest.test262=false 141 142# Control the verbosity of the CompilerTest 143test-sys-prop.compilertest.verbose=false 144 145# turn on/off scripting mode for compiler tests 146test-sys-prop.compilertest.scripting=true 147 148# turn on/off test262 scripts for compiler tests 149test-sys-prop.compilertest.test262=false 150 151# test directory to be excluded. 152test-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir} 153 154# run everything that's js in here, without checking file headers for test annotations 155test-sys-prop.test.js.unchecked.dir=${test262.dir} 156 157# test root for octane 158octane-test-sys-prop.test.js.roots=${test.external.dir}/octane/benchmarks 159 160# framework root for octane 161octane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js 162 163# list of tests to be excluded 164octane-test-sys-prop.test.js.exclude.list=base.js 165 166# test root for sunspider 167sunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/ 168 169# framework root for sunspider 170sunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js 171 172# list of tests to be excluded 173sunspider-test-sys-prop.test.js.exclude.list= 174 175# execute our script tests in shared nashorn context or not? 176test-sys-prop.test.js.shared.context=false 177 178# execute test262 tests in shared nashorn context or not? 179test262-test-sys-prop.test.js.shared.context=true 180 181# test262 test root 182test262-test-sys-prop.test.js.roots=${test262.suite.dir} 183# test262 enable/disable strict mode tests 184test262-test-sys-prop.test.js.enable.strict.mode=true 185 186# file containing test262 tests to be excluded 187# test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml 188 189# list of test262 test dirs to be excluded 190test262-test-sys-prop.test.js.exclude.dir=\ 191 ${test262.suite.dir}/intl402/ 192 193# test262 test frameworks 194test262-test-sys-prop.test.js.framework=\ 195 -timezone=PST \ 196 ${test.script.dir}/test262.js \ 197 ${test262.dir}/test/harness/framework.js \ 198 ${test262.dir}/test/harness/sta.js 199 200run.test.classpath=\ 201 ${file.reference.testng.jar}:\ 202 ${build.test.classes.dir} 203src.dir=src 204test.src.dir=test/src 205 206# -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMethods 207# add '-Dtest.js.outofprocess' to run each test in a new sub-process 208run.test.jvmargs=-server -Xmx3G -XX:-TieredCompilation -esa -ea -Dnashorn.debug=true -Dfile.encoding=UTF-8 209#-XX:+HeapDumpOnOutOfMemoryError -XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M 210run.test.jvmargs.octane=-Xms2G -Xmx2G ${run.test.jvmargs} 211 212run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy 213 214# path of rhino.jar for benchmarks 215rhino.jar= 216 217v8.shell=d8 218 219#path to rhino jar file 220octaneperf-sys-prop.rhino.jar=${rhino.jar} 221 222#timeout for performance tests in minutes 223octaneperf-sys-prop.timeout.value=10 224