File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ Run language tests in the default runner (Node):
1616
1717Using -T, collateral paths are relative to the test262 root directory:
1818
19- ` > test262-harness -T ~/test262 language/**/* `
19+ ` > test262-harness -T ~/test262 language/**/*.js `
2020
21- When a glob matches a directory, the default behavior will run all files under it recursively:
21+ When a glob matches a directory, the default behavior will run all .js files under it recursively:
2222
2323` > test262-harness -T ~/test262 language `
2424
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ function getFilesStream(config) {
277277
278278 // by default, run all files recursively when we pass test262Dir
279279 if ( config . test262Dir && files . length === 0 ) {
280- files = [ '**/*' ]
280+ files = [ '**/*.js ' ]
281281 }
282282
283283 files = files . map ( function ( p ) {
@@ -286,7 +286,7 @@ function getFilesStream(config) {
286286 }
287287
288288 if ( fs . existsSync ( p ) && fs . statSync ( p ) . isDirectory ( ) ) {
289- p = path . join ( p , '**/*' ) ;
289+ p = path . join ( p , '**/*.js ' ) ;
290290 }
291291
292292 return p ;
Original file line number Diff line number Diff line change 11{
22 "name" : " test262-harness" ,
33 "repository" : " bterlson/test262-harness" ,
4- "version" : " 1.5.0 " ,
4+ "version" : " 1.5.1 " ,
55 "description" : " Node-based harness for test262" ,
66 "main" : " index.js" ,
77 "bin" : {
You can’t perform that action at this time.
0 commit comments