xref: /plugin/siteexport/_test/phantomjs/runPhantomJs.sh (revision 0571ece201b9e3bc14846f6c88d943a4f1512014)
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