Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
wordcloud / test / run-slimerjs.sh
Size: Mime:
#!/bin/bash

[ -z $SLIMERJS ] && SLIMERJS=slimerjs

echo 'Testing '$1

$SLIMERJS ./test/headless-runner.js $1 | tee ./slimerjs.log

# Figure out the exit code ourselves because Gecko does not allow
# SlimerJS to do so for now.
[ -z "`grep '0 failed.' ./slimerjs.log`" ] && ERROR=1
rm ./slimerjs.log
exit $ERROR