[ez] Remove test262-all script
Just realized we can run all tests without encountering the arg limit if a string is passed in. This is much better because the test runner will count all tests in the parent test directory rather than run the tests in each subdirectory
Lauren Tan committed
Nov 15, 2022 at 17:01 UTC
e6956bd4d8aa268331e7ad9b9c72a7d69b1ffe11
2 files changed
+2
-12
compiler/forget/package.json
+2
-1
@@ -15,7 +15,8 @@
15
"test": "yarn build && jest",
16
"ts:analyze-trace": "scripts/ts-analyze-trace.sh",
17
"test262": "yarn run --silent test262-harness --preprocessor=scripts/test262-preprocessor.js",
18
- "test262:all": "scripts/test262-all.sh"
18
+ "test262:all": "yarn run --silent test262 'test262/test/**/*.js'",
19
+ "test262:ci": "yarn run --silent test262 --error-for-failures 'test262/test/**/*.js'"
20
},
21
"repository": {
22
"type": "git",
compiler/forget/scripts/test262-all.sh
deleted
-11
@@ -1,11 +0,0 @@
1
-#!/bin/bash
2
-# There are over 50,000+ tests in test262, and the test harness only accepts arrays of filepaths
3
-# not directories. This script iterates through all the test folders to break up the tests into
4
-# chunks.
5
-
6
-set -eo pipefail
7
-
8
-for dir in test262/test/*;
9
-do
10
- yarn run --silent test262 $dir/**/*.js;
11
-done
\ No newline at end of file