소스 검색

Add new simple set of tests

Yentl Van Tendeloo 8 년 전
부모
커밋
a47791eae1
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      scripts/run_basic_tests.py

+ 16 - 0
scripts/run_basic_tests.py

@@ -0,0 +1,16 @@
+from flush_compiler_caches import flush_all
+from generate_bootstrap import bootstrap
+import subprocess
+import sys
+
+flush_all()
+
+bootstrap()
+
+subprocess.check_call([sys.executable, "-m", "pytest"], cwd="state")
+
+subprocess.check_call([sys.executable, "-m", "pytest"], cwd="kernel")
+
+subprocess.check_call([sys.executable, "-m", "pytest"], cwd="interface/HUTN")
+
+subprocess.check_call([sys.executable, "-m", "pytest", "unit", "-x", "-v"])