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.
9 lines
239 B
Text
9 lines
239 B
Text
import Lean
|
|
|
|
open Lean Elab Term
|
|
|
|
/--
|
|
error: invalid doc string, declaration `Nat.mul` is in an imported module
|
|
-/
|
|
#guard_msgs (error) in
|
|
#eval show TermElabM Unit from do addDocString `Nat.mul mkNullNode (← `(docComment| /-- oh no -/))
|