Skip broken directory by default.
authorRobert Bradshaw <robertwb@math.washington.edu>
Wed, 6 Apr 2011 07:16:07 +0000 (00:16 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Wed, 6 Apr 2011 07:16:07 +0000 (00:16 -0700)
runtests.py

index 929bd0e933c2862a7488a8963f62ab5b7aacd4db..f30f6b6432ab1a45725a59a097e75031c3601c16 100644 (file)
@@ -212,6 +212,8 @@ class TestBuilder(object):
             if os.path.isdir(path):
                 if filename == 'pyregr' and not self.with_pyregr:
                     continue
+                if filename == 'broken' and not self.test_bugs:
+                    continue
                 suite.addTest(
                     self.handle_directory(path, filename))
         if sys.platform not in ['win32']: