summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-10-27 20:24:45 +0200
committerLars Wirzenius <liw@liw.fi>2015-10-27 20:24:45 +0200
commit3627b744c1b09991db57342e48c373dfd284c435 (patch)
tree6b93468f325ba704fd6a9429d004f047b4adbd00
parent6faedb45634e0120b9859fd597a56c573c78a29b (diff)
downloadcmdtest-3627b744c1b09991db57342e48c373dfd284c435.tar.gz
Drop warning about files without scenarios
It's a silly warning.
-rwxr-xr-xyarn2
1 files changed, 0 insertions, 2 deletions
diff --git a/yarn b/yarn
index fdfc695..f29c72d 100755
--- a/yarn
+++ b/yarn
@@ -187,8 +187,6 @@ class YarnRunner(cliapp.Application):
for filename in filenames:
self.info(0, 'Parsing scenario file %s' % filename)
blocks = mdparser.parse_file(filename)
- if not blocks:
- self.warning('No scenario code blocks in %s' % filename)
block_parser = yarnlib.BlockParser()
block_parser.parse_blocks(mdparser.blocks)