run_tests.py 433 B

12345678910111213141516171819
  1. from flush_compiler_caches import flush
  2. from generate_bootstrap import bootstrap
  3. import subprocess
  4. import sys
  5. flush()
  6. subprocess.check_call([sys.executable, "-m", "pytest"], cwd="state")
  7. bootstrap()
  8. subprocess.check_call([sys.executable, "-m", "pytest"], cwd="kernel")
  9. flush()
  10. subprocess.check_call([sys.executable, "-m", "pytest"], cwd="interface/HUTN")
  11. subprocess.check_call([sys.executable, "-m", "pytest", "integration"])