From e229aab76aa42e2b80fcc15e561af03a5a8d3625 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 16 Dec 2013 16:40:27 +0100 Subject: [PATCH] Don't check examples with PhantomJS that begin with // NOCHECK --- build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index c001fd0f2d..fc062ecf21 100755 --- a/build.py +++ b/build.py @@ -705,7 +705,9 @@ def host_examples(t): @target('check-examples', 'host-examples', phony=True) def check_examples(t): - examples = ['build/hosted/%(BRANCH)s/' + e for e in EXAMPLES] + examples = ['build/hosted/%(BRANCH)s/' + e + for e in EXAMPLES + if not open(e).readline().startswith('// NOCHECK')] all_examples = \ [e + '?mode=advanced' for e in examples] for example in all_examples: