Commits

Brett Cannon  committed bbd2884

People should be reading the dev guid and using Tools/scripts/run_tests.py.

  • Participants
  • Parent commits 4cec355

Comments (0)

Files changed (1)

File run_all_tests.py

-#!/usr/bin/env python
-"""Run CPython's test suite in the most rigorous way possible."""
-import multiprocessing
-import shutil
-import subprocess
-import sys
-import build_cpython
-
-
-def main():
-    cmd = build_cpython.main()
-    if cmd is None:
-        print('CPython is not built')
-        sys.exit(1)
-    try:
-        subprocess.call([cmd, '-W', 'default', '-bb', '-E', '-m', 'test', '-r',
-                         '-w', '-u', 'all', '-j',
-                         str(multiprocessing.cpu_count())])
-    finally:
-        shutil.rmtree('build')
-
-
-if __name__ == '__main__':
-    main()