This PR sets up the new integrated test/bench suite. It then migrates all benchmarks and some related tests to the new suite. There's also some documentation and some linting. For now, a lot of the old tests are left alone so this PR doesn't become even larger than it already is. Eventually, all tests should be migrated to the new suite though so there isn't a confusing mix of two systems.
17 lines
325 B
Text
17 lines
325 B
Text
import Lean
|
|
open Lean Elab Tactic
|
|
|
|
/-- info: hello world -/
|
|
#guard_msgs in
|
|
run_cmd logInfo m!"hello world"
|
|
|
|
/-- info: ! -/
|
|
#guard_msgs in
|
|
run_cmd unsafe do logInfo "!"
|
|
|
|
example : True := by
|
|
run_tac
|
|
evalApplyLikeTactic MVarId.apply (← `(True.intro))
|
|
|
|
example : True := by_elab
|
|
Term.elabTerm (← `(True.intro)) none
|