'Run the tests!'

def run(self):

    if self.distribution.install_requires:
        self.distribution.fetch_build_eggs(self.distribution.install_requires)
    if self.distribution.tests_require:
        self.distribution.fetch_build_eggs(self.distribution.tests_require)
    if (self.docs_path is None):
        cfg_docs_dir = self.distribution.get_option_dict('build_docs').get('source_dir', None)
        if ((cfg_docs_dir is not None) and os.path.exists(cfg_docs_dir[1])):
            self.docs_path = os.path.abspath(cfg_docs_dir[1])
        elif os.path.exists('docs'):
            self.docs_path = os.path.abspath('docs')
    self._build_temp_install()
    try:
        cmd = self.generate_testing_command()
        testproc = subprocess.Popen([sys.executable, '-B', '-c', cmd], cwd=self.testing_path, close_fds=False)
        retcode = testproc.wait()
    except KeyboardInterrupt:
        import signal
        testproc.send_signal(signal.SIGINT)
        retcode = testproc.wait()
    finally:
        shutil.rmtree(self.tmp_dir)
    raise SystemExit(retcode)
