Use CSS styles instead of labelsDivStyles
[dygraphs.git] / test.sh
CommitLineData
86a3e64f
DV
1#!/bin/bash
2which phantomjs > /dev/null
3if [ $? != 0 ]; then
4 echo You must install phantomjs to use command-line testing.
5 echo Visit http://www.phantomjs.org/ to get it.
6 echo
7 echo OR open auto_tests/misc/local.html in a browser.
8 echo OR follow the instructions in auto_tests/README
9 exit 1
10fi
11
8abf291a
DV
12# Don't run tests if the documentation doesn't parse.
13./generate-documentation.py > /dev/null
14if [ $? != 0 ]; then
15 echo Failed to generate documentation. Fix this before running tests.
16 exit 1
17fi
18
2323945c 19phantomjs phantom-driver.js $*