Skip to content

Commit 74fb914

Browse files
jbhoosreddyJLHwung
authored andcommitted
Use the local version of babel in test262 job (#10749)
* Use the local version of babel * retrigger * correctly remove other changes * d'oh last one * remove link part
1 parent 683adcb commit 74fb914

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -89,35 +89,21 @@ jobs:
8989
- run:
9090
name: Build Babel
9191
command: BABEL_ENV=test make bootstrap
92-
- run:
93-
name: Link Babel
94-
command: |
95-
cd packages
96-
for package in */; do
97-
cd $package
98-
yarn link
99-
cd ..
100-
done
10192
- run:
10293
name: Setup Test Runner
10394
command: |
10495
git clone --recurse-submodules https://github.com/babel/babel-test262-runner
10596
cd babel-test262-runner
10697
yarn
10798
yarn add tap-mocha-reporter --dev
108-
curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 > jq
109-
chmod +x ./jq
110-
for package in ../packages/*/package.json; do
111-
yarn link $(./jq -j ".name" $package)
112-
done
11399
node lib/download-node
114100
- run:
115101
name: Download master branch Test262 artifact
116102
command: node lib/download-master-artifact ~/master.tap
117103
<<: *test262_workdir
118104
- run:
119105
name: Run Test262
120-
command: node lib/run-tests I_AM_SURE | tee ~/test262.tap
106+
command: BABEL_PATH=.. node lib/run-tests I_AM_SURE | tee ~/test262.tap
121107
<<: *test262_workdir
122108
- store_artifacts: *artifact_test262_tap
123109
- run:

0 commit comments

Comments
 (0)