run_basic_tests.py 443 B

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