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