Commit 8dc93f8
Use SciMLTesting v1.2 folder-based run_tests
Convert ModelingToolkitStandardLibrary.jl to the SciMLTesting v1.2
folder-discovery model. runtests.jl becomes `using SciMLTesting;
run_tests()`.
Layout:
- Core: the functional test files are flattened from their domain
subfolders (Blocks/, Electrical/, Thermal/, Magnetic/, Mechanical/,
Hydraulic/) to the top level of test/, which is the Core group in the
folder model. Folder-discovery does not recurse into subfolders, so
Core must live at the top level. Basenames do not collide.
- QA: test/aqua.jl moves to test/qa/aqua.jl. QA runs in the main test
env (Aqua is in the root [extras]); no test/qa/Project.toml is added.
- test/Mechanical/multibody.jl moves to test/shared/ because it is
present on disk but is NOT run by the old runtests.jl (it depends on
CairoMakie). test/shared/ is not a declared group, so it is never
discovered, preserving that exclusion.
Per-GROUP behavior is preserved exactly: GROUP=Core runs the same 19
functional files as before (multibody excluded); GROUP=QA runs Aqua.
SciMLTesting added to [extras], [targets].test, and [compat] ("1").
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4252111 commit 8dc93f8
21 files changed
Lines changed: 5 additions & 82 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
| 69 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments