Merge pull request #220 from davidjrice/tests

Fix strokeDashArray related tests.
This commit is contained in:
Juriy Zaytsev 2012-08-08 15:31:12 -07:00
commit b07641a50f
5 changed files with 11 additions and 5 deletions

3
.gitignore vendored
View file

@ -1 +1,2 @@
node_modules
node_modules
.DS_Store

View file

@ -1,6 +1,6 @@
language: node_js
node_js:
- 0.5
- 0.6
- 0.8
before_install:
- git submodule update --init --recursive

View file

@ -14,7 +14,7 @@
"test": "node test.js"
},
"dependencies": {
"canvas": ">=0.8.1",
"canvas": "git://github.com/LearnBoost/node-canvas.git",
"jsdom": ">=0.2.3",
"xmldom": ">=0.1.7"
},

2
site

@ -1 +1 @@
Subproject commit 9d7975f84a458e2818f2d79d759dca8350bc32e3
Subproject commit 4eb839d12886823692ee78f9b88c17328f40d824

View file

@ -1,6 +1,6 @@
var testrunner = require('qunit');
testrunner.options.log.summary = false;
testrunner.options.log.summary = true;
testrunner.options.log.tests = false;
testrunner.options.log.assertions = false;
@ -27,6 +27,11 @@ testrunner.run({
'./site/test/unit/canvas_static.js'
]
}, function(err, report) {
if(report.failed > 0){
process.on('exit', function() {
process.exit(1);
});
}
if (err) {
console.log(err);
}