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.
33 lines
721 B
Text
33 lines
721 B
Text
/-!
|
|
# Deprecate `:=` for `inductive` and `structure`
|
|
-/
|
|
|
|
set_option linter.deprecated true
|
|
|
|
/--
|
|
warning: `inductive ... :=` has been deprecated in favor of `inductive ... where`
|
|
|
|
Note: This linter can be disabled with `set_option linter.deprecated false`
|
|
-/
|
|
#guard_msgs in
|
|
inductive DogSound' :=
|
|
| woof
|
|
| grr
|
|
|
|
/--
|
|
warning: `structure ... :=` has been deprecated in favor of `structure ... where`.
|
|
|
|
Note: This linter can be disabled with `set_option linter.deprecated false`
|
|
-/
|
|
#guard_msgs in
|
|
structure S :=
|
|
(n : Nat)
|
|
|
|
/--
|
|
warning: `class ... :=` has been deprecated in favor of `class ... where`.
|
|
|
|
Note: This linter can be disabled with `set_option linter.deprecated false`
|
|
-/
|
|
#guard_msgs in
|
|
class C :=
|
|
(n : Nat)
|