Skip to content

Instantly share code, notes, and snippets.

@xyproto
Last active July 28, 2016 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xyproto/ed545fdf06a666a3ba9f7b1c5acd74bc to your computer and use it in GitHub Desktop.
Save xyproto/ed545fdf06a666a3ba9f7b1c5acd74bc to your computer and use it in GitHub Desktop.
Test changes to otto for EcmaScript 5 compliance improvements
#!/bin/sh
git clone https://github.com/robertkrimen/otto
cd otto/otto; go get -d; go build; cd ../..
git clone https://github.com/tc39/test262.git
git clone https://github.com/test262-utils/test262-harness-py.git
python2 test262-harness-py/src/test262.py --command otto/otto/otto --tests test262 > original.log
rm -rf otto
git clone https://github.com/xyproto/otto.git
cd otto/otto; go get -d; go build; cd ../..
python2 test262-harness-py/src/test262.py --command otto/otto/otto --tests test262 > xyproto.log
diff orginal.log xyproto.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment