2023-05-22 11:47:46 -07:00
|
|
|
import LSpec
|
2023-12-26 09:22:57 -08:00
|
|
|
import Test.Environment
|
2023-11-04 15:00:51 -07:00
|
|
|
import Test.Holes
|
2023-08-13 21:19:06 -07:00
|
|
|
import Test.Integration
|
2023-05-22 14:49:56 -07:00
|
|
|
import Test.Proofs
|
|
|
|
import Test.Serial
|
2023-05-22 11:47:46 -07:00
|
|
|
|
2023-05-22 14:49:56 -07:00
|
|
|
open Pantograph.Test
|
2023-05-22 11:47:46 -07:00
|
|
|
|
2023-11-06 11:43:57 -08:00
|
|
|
def main := do
|
2023-05-22 14:49:56 -07:00
|
|
|
Lean.initSearchPath (← Lean.findSysroot)
|
|
|
|
|
|
|
|
let suites := [
|
2023-11-04 15:00:51 -07:00
|
|
|
Holes.suite,
|
2023-10-06 17:31:36 -07:00
|
|
|
Integration.suite,
|
|
|
|
Proofs.suite,
|
2023-12-05 19:07:00 -08:00
|
|
|
Serial.suite,
|
2023-12-26 09:22:57 -08:00
|
|
|
Environment.suite
|
2023-05-22 14:49:56 -07:00
|
|
|
]
|
|
|
|
let all ← suites.foldlM (λ acc m => do pure $ acc ++ (← m)) LSpec.TestSeq.done
|
|
|
|
LSpec.lspecIO $ all
|