Skip to content

Commit

Permalink
use vanilla phantomjs, and remove submodule we kept around for gettin…
Browse files Browse the repository at this point in the history
…g to pyphantomjs
  • Loading branch information
putermancer committed Mar 9, 2012
1 parent afa837c commit 616fd05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion ext/phantomjs
Submodule phantomjs deleted from 11a5e9
10 changes: 9 additions & 1 deletion test/phantomjs.runner.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/bin/bash

# sanity check to make sure phantomjs exists in the PATH
hash /usr/bin/env phantomjs &> /dev/null
if [ $? -eq 1 ]; then
echo "ERROR: phantomjs is not installed"
echo "Please visit http://www.phantomjs.org/"
exit 1
fi

# sanity check number of args
if [ $# -lt 1 ]
then
Expand All @@ -25,4 +33,4 @@ git submodule update --init

# fire up the phantomjs environment and run the test
cd $SCRIPTDIR
/usr/bin/env python ../ext/phantomjs/python/pyphantomjs/pyphantomjs.py $SCRIPTDIR/phantomjs-testrunner.js $TESTFILE
/usr/bin/env phantomjs $SCRIPTDIR/phantomjs-testrunner.js $TESTFILE

0 comments on commit 616fd05

Please sign in to comment.