added hint if test don't support update

This commit is contained in:
Martin Diehl 2012-10-09 07:37:48 +00:00
parent 33a00c9bcb
commit 7ad3ce62e7
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class Test():
'''
Run all variants and report first failure.
'''
if len(update) == 0 and self.options.update: print ' This test has no reference to update'
if len(variants) == 0: variants = xrange(len(self.variants)) # iterate over all variants
self.clean()
for variant in variants: