tests/run-tests.py
branchstable
changeset 1340 fd5aa85ac2b9
parent 1339 3c30458319ff
child 1341 c559280de767
--- a/tests/run-tests.py	Thu Feb 13 08:27:53 2014 +0100
+++ b/tests/run-tests.py	Thu Feb 13 08:29:44 2014 +0100
@@ -799,9 +799,8 @@
                     lout = el[:-1] + ' (glob)\n'
                     r = 0 # warn only
                 elif r == '-glob':
-                    log('\ninfo, unnecessary glob in %s (after line %d):'
-                        ' %s (glob)\n' % (test, pos, el[:-1]))
-                    r = True # pass on unnecessary glob
+                    lout = ''.join(el.rsplit(' (glob)', 1))
+                    r = 0 # warn only
                 else:
                     log('\ninfo, unknown linematch result: %r\n' % r)
                     r = False