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.
19 lines
325 B
Text
19 lines
325 B
Text
open Lean in
|
|
macro "tst" : term => do
|
|
Macro.trace[Meta.debug] "macro tst executed"
|
|
`(0)
|
|
|
|
#check tst
|
|
|
|
set_option trace.Meta.debug true in
|
|
#check tst
|
|
|
|
open Lean in
|
|
macro "tstcmd" : command => do
|
|
Macro.trace[Meta.debug] "macro cmdtst executed {1+2}"
|
|
`(#print "hello")
|
|
|
|
tstcmd
|
|
|
|
set_option trace.Meta.debug true in
|
|
tstcmd
|