Permalink
Browse files

Check the examples against whitespace build first

This is to produce stack traces that are easier to understand when an example fails to load.
  • Loading branch information...
1 parent 382022b commit a0ba80bcbb5f8c6973162ab56b7b9d05fdbfa281 @elemoine elemoine committed with tschaub Mar 5, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 build.py
View
@@ -384,9 +384,9 @@ def hostexamples(t):
def check_examples(t):
directory = 'build/gh-pages/%(BRANCH)s/'
examples = ['build/gh-pages/%(BRANCH)s/' + e for e in EXAMPLES]
- all_examples = examples + \
+ all_examples = [e + '?mode=whitespace' for e in examples] + \
[e + '?mode=simple' for e in examples] + \
- [e + '?mode=whitespace' for e in examples]
+ examples
for example in all_examples:
t.run('%(PHANTOMJS)s', 'bin/check-example.js', example)

0 comments on commit a0ba80b

Please sign in to comment.