Let unittest_suite --full cleanup stray leftover .pyc files for us.

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3743 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/utils/unittest_suite.py b/utils/unittest_suite.py
index fc483c2..f6546d4 100755
--- a/utils/unittest_suite.py
+++ b/utils/unittest_suite.py
@@ -67,6 +67,10 @@
     for dirpath, subdirs, filenames in os.walk(start):
         # Only look in and below subdirectories that are python modules.
         if '__init__.py' not in filenames:
+            if options.full:
+                for filename in filenames:
+                    if filename.endswith('.pyc'):
+                        os.unlink(os.path.join(dirpath, filename))
             # Skip all subdirectories below this one, it is not a module.
             del subdirs[:]
             if options.debug: