Bug 698255 - Make pymake runtests.py's grep-for option work. r=khuey
authorSiddharth Agarwal <sid.bugzilla@gmail.com>
Mon, 31 Oct 2011 18:07:08 +0530
changeset 298 75d1479a66882fa50a132b7a267ceca33e36d5c8
parent 297 476b9db400026a42545e7b83a0ef50b8f584b649
child 299 91b606372a44bef01439e7e7e7b796135919bdc7
push id179
push usersid.bugzilla@gmail.com
push dateMon, 31 Oct 2011 12:39:12 +0000
reviewerskhuey
bugs698255
Bug 698255 - Make pymake runtests.py's grep-for option work. r=khuey
tests/runtests.py
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -142,17 +142,17 @@ for makefile in makefiles:
             d['returncode'] = data
         elif key == 'returncode-on':
             if sys.platform in data:
                 d['returncode'] = data[sys.platform]
         elif key == 'environment':
             for k, v in data.iteritems():
                 d['env'][k] = v
         elif key == 'grep-for':
-            grepfor = data
+            d['grepfor'] = data
         elif key == 'fail':
             d['pass'] = False
         elif key == 'skip':
             d['skip'] = True
         else:
             print >>sys.stderr, "%s: Unexpected #T key: %s" % (makefile, key)
             sys.exit(1)