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