From caad8cde12240ad678949c0e2d742d7eca2c1cf4 Mon Sep 17 00:00:00 2001
From: Joshua Harlow <harlowja@yahoo-inc.com>
Date: Mon, 13 Feb 2012 23:10:32 -0800
Subject: [PATCH] Update run_tests.py

---
 run_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.py b/run_tests.py
index ac4b348c..e8cf49af 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -45,7 +45,7 @@ def parse_suite_filter():
 if __name__ == '__main__':
     SUITE_FILTER = parse_suite_filter()
     if SUITE_FILTER:
-        TESTS = [t for t in TESTS if filter in str(t)]
+        TESTS = [t for t in TESTS if SUITE_FILTER in str(t)]
         if not TESTS:
             print 'No test configuration by the name %s found' % SUITE_FILTER
             sys.exit(2)