Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Test262 on MacOS / Node14 #689

Merged
merged 1 commit into from
Jun 19, 2020
Merged

Conversation

justingrant
Copy link
Collaborator

Fixes #687 which prevented Test262 tests from running in my MacOS/Node14 environment.

  • if MacOS, use sysctl -n hw.logicalcpu instead of nproc in ci_test.sh
  • defend against undefined globalThis.__coverage__

Fixes tc39#687 which prevented Test262 tests from running in my
MacOS/Node14 environment.
- if MacOS, use sysctl instead of nproc in ci_test.sh
- defend against undefined `globalThis.__coverage__`
@codecov
Copy link

codecov bot commented Jun 19, 2020

Codecov Report

Merging #689 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #689   +/-   ##
=======================================
  Coverage   94.41%   94.41%           
=======================================
  Files          17       17           
  Lines        4780     4780           
  Branches      757      757           
=======================================
  Hits         4513     4513           
  Misses        264      264           
  Partials        3        3           
Flag Coverage Δ
#test262 52.53% <ø> (ø)
#tests 89.21% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9cb326e...b798719. Read the comment docs.

Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ptomato ptomato merged commit 4481a79 into tc39:main Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to get CI tests running on MacOS?
2 participants