Skip to content

Instantly share code, notes, and snippets.

View leobalter's full-sized avatar
💭
status

Leo Balter leobalter

💭
status
View GitHub Profile
@leobalter
leobalter / gist:57283b496d281d92cc159827fde4250c
Last active May 10, 2017 15:00
test262-harness shortcuts
test262-harness --hostPath=`which d8` --hostType=d8 --hostArgs='--harmony_regexp_property' $(git diff --cached tc39/master --diff-filter=AM --name-only test/) -t 4
test262-harness --hostPath=`which d8` --hostType=d8 $(git diff --name-only)
test262-harness $(git grep --name-only --extended-regexp 'verify(Not)?Enumerable' test/) # uses node by default
test262-harness --hostPath=`which d8` --hostType=d8 $(git diff --cached --name-only) # added files only
time test262-harness --hostType=jsshell -t 4 --hostPath=`which js` $(git grep --name-only -E 'features\: \[*+object-(rest|spread)' test/language)
@caiolima
caiolima / gist:d7c538fa936dc62ed3cd7841bbe04dc3
Created March 6, 2017 01:15
Running JSC on test262-harness
First you need to build JSC. Since it is a module in WebKit, you can follow these instructions to get the code and learn how to build it.
https://webkit.org/getting-started/#building-webkit
After the machine setup, you can build JSC as a stand-alone CLI program running
```<path_to_webkit>/Tools/Scripts/build-jsc —release```
It will build jsc into ```<path_to_webkit>/WebKitBuild/Release```