Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run ecmascript test262 suite for Dynjs with nailgun
#!/bin/sh
# Usage:
#
# * copy this file to the test262 folder
# * start nailgun server with `ng-server`
# * run suite with `sh run-test262-nailgun.sh <dynjs-folder>`
if [ $# = 0 ]
then
echo "Usage: run-test262 <dynjs-folder>"
exit 0
fi
TEST_FOLDER=`pwd`
cd $1
if [ ! -f target/dynjs-all.jar ]; then
mvn clean package -Pshade
fi
echo "Adding dynjs-all.jar to nailgun class path"
ng ng-cp `pwd`/target/dynjs-all.jar
echo "Running test262 suite..."
cd ${TEST_FOLDER}
python tools/packaging/test262.py --command "ng org.dynjs.cli.Main"
@jingweno

This comment has been minimized.

Copy link
Owner Author

commented Oct 17, 2012

Usage:

  1. copy this file to the test262 folder
  2. start nailgun server with ng-server
  3. run suite with sh run-test262-nailgun.sh <dynjs-folder>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.