project.properties revision 43:e62dba3ce52b
190075Sobrien# 2169689Skan# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 3132718Skan# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 490075Sobrien# 5132718Skan# This code is free software; you can redistribute it and/or modify it 690075Sobrien# under the terms of the GNU General Public License version 2 only, as 7132718Skan# published by the Free Software Foundation. 890075Sobrien# 990075Sobrien# This code is distributed in the hope that it will be useful, but WITHOUT 1090075Sobrien# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1190075Sobrien# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12132718Skan# version 2 for more details (a copy is included in the LICENSE file that 1390075Sobrien# accompanied this code). 1490075Sobrien# 1590075Sobrien# You should have received a copy of the GNU General Public License version 1690075Sobrien# 2 along with this work; if not, write to the Free Software Foundation, 1790075Sobrien# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18132718Skan# 19169689Skan# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20169689Skan# or visit www.oracle.com if you need additional information or have any 2190075Sobrien# questions. 2290075Sobrien# 2390075Sobrien 2490075Sobrienapplication.title=nashorn 25117395Skan 26117395Skan# location of JDK embedded ASM sources 2790075Sobrienjdk.asm.src.dir=../jdk/src/share/classes/jdk/internal 2890075Sobrien 2990075Sobrien# source and target levels 3090075Sobrienbuild.compiler=modern 31132718Skanjavac.source=1.7 3290075Sobrienjavac.target=1.7 33132718Skan 34132718Skan# nashorn version information 35132718Skannashorn.version=0.1 3690075Sobriennashorn.fullversion=0.1 37169689Skannashorn.product.name=Oracle Nashorn 38169689Skan 39169689Skan# This directory is removed when the project is cleaned: 40169689Skanbuild.dir=build 41169689Skanbuild.classes.dir=${build.dir}/classes 42132718Skanbuild.zip=${build.dir}/nashorn.zip 43132718Skanbuild.gzip=${build.dir}/nashorn.tar.gz 44169689Skan 45132718Skan# nashorn Shell tool 46132718Skannashorn.shell.tool=jdk.nashorn.tools.Shell 47132718Skan 48132718Skan# nasgen tool 49169689Skannasgen.tool=jdk.nashorn.internal.tools.nasgen.Main 50132718Skan 51169689Skan# parallel test runner tool 52169689Skanparallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner 53169689Skan 54169689Skan# test classes directory 55132718Skanbuild.test.classes.dir=${build.dir}/test/classes 56132718Skan# test results directory 57132718Skanbuild.test.results.dir=${build.dir}/test/reports 58169689Skan 5990075Sobrien# This directory is removed when the project is cleaned: 60132718Skandist.dir=dist 61132718Skandist.jar=${dist.dir}/nashorn.jar 62132718Skandist.javadoc.dir=${dist.dir}/javadoc 6390075Sobrien 64132718Skan# jars refererred 65169689Skanfile.reference.testng.jar=test/lib/testng.jar 66132718Skan 6790075Sobrien# Set testng verbose level 68132718Skan# From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed) 69132718Skan# Actually, this is a lie: you can specify -1 and this will put TestNG in 70132718Skan# debug mode (no longer slicing off stack traces and all)." 71169689Skan 72132718Skantestng.verbose=2 73132718Skan 74132718Skan# TestNG listeners - we want to replace TestNG's own JUnit 75132718Skan# reporter, but want everything else provided by default 7690075Sobrien# Unfortunately, we've to clone the other default reporters here. 7790075Sobrien 7890075Sobrientestng.listeners=\ 7990075Sobrien org.testng.reporters.SuiteHTMLReporter, \ 80132718Skan org.testng.reporters.jq.Main, \ 81132718Skan org.testng.reporters.FailedReporter, \ 82132718Skan org.testng.reporters.XMLReporter \ 83132718Skan org.testng.reporters.EmailableReporter, \ 84132718Skan jdk.nashorn.internal.test.framework.JSJUnitReportReporter 8590075Sobrien 8690075Sobrien# Define the version of Dynalink that is used. Version types are either 87132718Skan# 'snapshot' or 'release'. When it is 'snapshot', the version must have 88132718Skan# "-SNAPSHOT" suffix and the jar version will have a timestamp in it. When 89169689Skan# it's 'release', the version has no suffix, and the jar version is 90132718Skan# identical to version - fun with Maven central. 9190075Sobriendynalink.version=0.5-SNAPSHOT 9290075Sobriendynalink.version.type=snapshot 93132718Skandynalink.jar.version=0.5-20130109.113843-12 94132718Skandynalink.dir.name=dynalink 95132718Skandynalink.dir=build/${dynalink.dir.name} 96132718Skandynalink.jar=${dynalink.dir}/dynalink.jar 97132718Skan 98132718Skanjavac.debug=true 99132718Skanjavac.encoding=ascii 100132718Skanjavac.classpath=\ 10190075Sobrien ${build.classes.dir}:\ 102132718Skan ${dynalink.jar} 103132718Skanjavac.test.classpath=\ 104122180Skan ${build.classes.dir}:\ 10590075Sobrien ${build.test.classes.dir}:\ 10690075Sobrien ${file.reference.testng.jar} 107132718Skan 10890075Sobrienmeta.inf.dir=${src.dir}/META-INF 109117395Skan 110132718Skanrun.classpath=\ 111169689Skan ${build.classes.dir} 112169689Skan 113169689Skan# test scripts to run 114169689Skantest.dir=test 115test.script.dir=test/script 116test.basic.dir=test/script/basic 117test.error.dir=test/script/error 118test.sandbox.dir=test/script/sandbox 119test.external.dir=test/script/external 120test262.dir=${test.external.dir}/test262 121test262.suite.dir=${test262.dir}/test/suite 122 123test-sys-prop.test.dir=${test.dir} 124test-sys-prop.test.js.roots=${test.basic.dir} ${test.error.dir} ${test.sandbox.dir} 125test-sys-prop.test262.suite.dir=${test262.suite.dir} 126test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases 127test-sys-prop.test.basic.dir=${test.basic.dir} 128 129# framework root for our script tests 130test-sys-prop.test.js.framework=${test.script.dir}/assert.js 131 132# Control the verbosity of ParserTest 133test-sys-prop.parsertest.verbose=false 134 135# turn on/off scripting mode for parser tests 136test-sys-prop.parsertest.scripting=true 137 138# turn on/off test262 scripts for parser tests 139test-sys-prop.parsertest.test262=false 140 141# Control the verbosity of the CompilerTest 142test-sys-prop.compilertest.verbose=false 143 144# turn on/off scripting mode for compiler tests 145test-sys-prop.compilertest.scripting=true 146 147# turn on/off test262 scripts for compiler tests 148test-sys-prop.compilertest.test262=false 149 150# test directory to be excluded. 151test-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir} 152 153# run everything that's js in here, without checking file headers for test annotations 154test-sys-prop.test.js.unchecked.dir=${test262.dir} 155 156# test root for octane 157octane-test-sys-prop.test.js.roots=${test.external.dir}/octane/ 158 159# run octane benchmars in separate processes? 160octane-test-sys-prop.separate.process=true 161 162# framework root for octane 163octane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js 164 165# list of tests to be excluded 166# mandreel excluded due to OOM 167octane-test-sys-prop.test.js.exclude.list=\ 168 base.js \ 169 run.js \ 170 mandreel.js 171 172# test root for sunspider 173sunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/tests/sunspider-1.0/ 174 175# framework root for sunspider 176sunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js 177 178# list of tests to be excluded 179sunspider-test-sys-prop.test.js.exclude.list= 180 181# execute our script tests in shared nashorn context or not? 182test-sys-prop.test.js.shared.context=false 183 184# execute test262 tests in shared nashorn context or not? 185test262-test-sys-prop.test.js.shared.context=true 186 187# test262 test root 188test262-test-sys-prop.test.js.roots=${test262.suite.dir} 189# test262 enable/disable strict mode tests 190test262-test-sys-prop.test.js.enable.strict.mode=true 191 192# file containing test262 tests to be excluded 193# test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml 194 195# list of test262 test dirs to be excluded 196test262-test-sys-prop.test.js.exclude.dir=\ 197 ${test262.suite.dir}/intl402/ 198 199# test262 test frameworks 200test262-test-sys-prop.test.js.framework=\ 201 -timezone=PST \ 202 ${test.script.dir}/test262.js \ 203 ${test262.dir}/test/harness/framework.js \ 204 ${test262.dir}/test/harness/sta.js 205 206run.test.classpath=\ 207 ${file.reference.testng.jar}:\ 208 ${build.test.classes.dir} 209src.dir=src 210test.src.dir=test/src 211 212run.test.xmx=3G 213run.test.xms=2G 214 215# -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMethods 216# add '-Dtest.js.outofprocess' to run each test in a new sub-process 217run.test.jvmargs=-server -Xmx${run.test.xmx} -XX:-TieredCompilation -esa -ea -Dnashorn.debug=true -Dfile.encoding=UTF-8 218#-XX:+HeapDumpOnOutOfMemoryError -XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M 219run.test.jvmargs.octane=-Xms${run.test.xms} ${run.test.jvmargs} 220 221run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy 222 223# path of rhino.jar for benchmarks 224rhino.jar= 225 226v8.shell=d8 227 228#path to rhino jar file 229octaneperf-sys-prop.rhino.jar=${rhino.jar} 230 231#timeout for performance tests in minutes 232octaneperf-sys-prop.timeout.value=10 233