Skip to content

Instantly share code, notes, and snippets.

@leobalter
Last active May 10, 2017 15:00
Show Gist options
  • Save leobalter/57283b496d281d92cc159827fde4250c to your computer and use it in GitHub Desktop.
Save leobalter/57283b496d281d92cc159827fde4250c to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment