2023-05-22 11:47:46 -07:00
|
|
|
import LSpec
|
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-05-22 14:49:56 -07:00
|
|
|
unsafe def main := do
|
|
|
|
Lean.enableInitializersExecution
|
|
|
|
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,
|
|
|
|
Serial.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
|