running TestNG tests from nashorn/test by jtreg

A. Sundararajan sundararajan.athijegannathan at oracle.com
Tue Jun 17 10:45:03 UTC 2014


No. Nashorn test framework requires specific security manager to be 
used. Also, nashorn test framework uses jtreg-style annotations in .js 
files and parses those

-Sundar

On Tuesday 17 June 2014 04:11 PM, Lev Priima wrote:
> Thanks Sundar,
>
> Do you plan to migrate to running all nashorn tests by using one 
> harness(not using both ant and jtreg)? Could I run all tests from 
> nashorn test(including both jtreg and TestNG tests) by using jtreg?
>
> Lev
>
> On 06/17/2014 02:11 PM, A. Sundararajan wrote:
>> Hi,
>>
>> only a subset of nashorn tests can be run with jtreg.
>>
>> *) cd $nashorn_repo_top_dir/test
>> *) jtreg -jdk:<your_jdk_image_dir> .
>>
>> If you want to run all tests, you've to run do
>>
>> *) cd $nashorn_repo_top_dir/make
>> *) ant clean test test262parallel
>>
>> -Sundar
>>
>> On Monday 16 June 2014 09:10 PM, Lev Priima wrote:
>>> Hi,
>>>
>>> Could you please point me to the doc, describing how to run 
>>> TestNG-tests from nashorn/test by using jtreg harness?
>>>
>>
>



More information about the jtreg-use mailing list