README

changeset 775
267e9e895282
parent 3
da1e581c933b
child 952
6d5471a497fb
child 1391
7b10faf739fd
equal deleted inserted replaced
774:b6d77b47cf7f 775:267e9e895282
79 unzip testng-x.y.z.zip 79 unzip testng-x.y.z.zip
80 cp testng-x.y.z/testng-x.y.z.jar test/lib/testng.jar 80 cp testng-x.y.z/testng-x.y.z.jar test/lib/testng.jar
81 81
82 After that, you can run the tests using: 82 After that, you can run the tests using:
83 cd make 83 cd make
84 ant test 84 ant clean test
85 85
86 You can also run the ECMA-262 test suite with Nashorn. In order to do 86 You can also run the ECMA-262 test suite with Nashorn. In order to do
87 that, you will need to get a copy of it and put it in 87 that, you will need to get a copy of it and put it in
88 test/script/external/test262 directory. A convenient way to do it is: 88 test/script/external/test262 directory. A convenient way to do it is:
89 89
90 hg clone http://hg.ecmascript.org/tests/test262/ test/script/external/test262 90 git clone https://github.com/tc39/test262 test/script/external/test262
91 91
92 Alternatively, you can check it out elsewhere and make 92 Alternatively, you can check it out elsewhere and make
93 test/script/external/test262 a symbolic link to that directory. After 93 test/script/external/test262 a symbolic link to that directory. After
94 you've done this, you can run the ECMA-262 tests using: 94 you've done this, you can run the ECMA-262 tests using:
95 95
96 cd nashorn~jdk8/nashorn/make 96 cd nashorn~jdk8/nashorn/make
97 ant test262 97 ant test262
98
99 Ant target to get/update external test suites:
100
101 ant externals
102 ant update-externals
98 103
99 These tests take time, so we have a parallelized runner for them that 104 These tests take time, so we have a parallelized runner for them that
100 takes advantage of all processor cores on the computer: 105 takes advantage of all processor cores on the computer:
101 106
102 cd nashorn~jdk8/nashorn/make 107 cd nashorn~jdk8/nashorn/make

mercurial