File: demos/startbootstrap-sb-admin-2/bower_components/morrisjs/spec/viz/run.sh

Recommend this page to a friend!
  Classes of Emmanuel Podvin   Blapy   demos/startbootstrap-sb-admin-2/bower_components/morrisjs/spec/viz/run.sh   Download  
File: demos/startbootstrap-sb-admin-2/bower_components/morrisjs/spec/viz/run.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change: Update of demos/startbootstrap-sb-admin-2/bower_components/morrisjs/spec/viz/run.sh
Date: 3 years ago
Size: 444 bytes
 

Contents

Class file image Download
#!/bin/sh # visual_specs.js creates output in output/XXX.png phantomjs visual_specs.js # clear out old diffs mkdir -p diff rm -f diff/* # generate diffs PASS=1 for i in exemplary/*.png do FN=`basename $i` perceptualdiff $i output/$FN -output diff/$FN if [ $? -eq 0 ] then echo "OK: $FN" else echo "FAIL: $FN" PASS=0 fi done # pass / fail if [ $PASS -eq 1 ] then echo "Success." else echo "Failed." exit 1 fi