run_tests.py 547 B

123456789101112131415161718192021
  1. from flush_compiler_caches import flush_all
  2. from generate_bootstrap import bootstrap
  3. import subprocess
  4. import sys
  5. flush_all()
  6. subprocess.check_call([sys.executable, "-m", "pytest"], cwd="state")
  7. bootstrap()
  8. subprocess.check_call([sys.executable, "-m", "pytest"], cwd="kernel")
  9. flush_all()
  10. subprocess.check_call([sys.executable, "-m", "pytest"], cwd="interface/HUTN")
  11. subprocess.check_call([sys.executable, "-m", "pytest", "unit", "-x"])
  12. subprocess.check_call([sys.executable, "-m", "pytest", "integration", "--runslow", "-s", "-v", "-x"])