xref: /plugin/siteexport/_test/phantomjs/runPhantomJs.sh (revision e2c8d3cc5f4d93762f6ec371cc58f080211004e9)
1#!/usr/bin/sh
2
3RET=0
4
5for FILE in $(find . -name "*.test.html")
6do
7    echo "Running '$FILE' via phantomJS"
8    phantomjs phantom-qunit.js "file://$(pwd)/$FILE"
9    RET=$(($RET + $?))
10done
11
12exit $RET