Skip to content

Use SciMLTesting v1.2 (folder-based run_tests)#1225

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sciml-testing-rollout
Jun 14, 2026
Merged

Use SciMLTesting v1.2 (folder-based run_tests)#1225
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sciml-testing-rollout

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Converts the root test suite to the SciMLTesting v1.2 run_tests harness.

Optimization.jl is a monorepo (lib/<Sublibrary> sub-packages, OPTIMIZATION_TEST_GROUP sublibrary handoff) with a GPU group that activates its own test/downstream environment, so the explicit-args form of run_tests is used — folder-discovery mode cannot express sublibrary routing or a per-group sub-environment. The sublibrary pre-step is kept verbatim so its --check-bounds=auto julia arg, force_latest_compatible_version = false, and the pre-1.11 transitive [sources] develop walk are preserved byte-for-byte.

Behavior preserved (verified by simulating the dispatch on Julia 1.11):

  • GROUP=Core runs the same 8 top-level files (utils, verbosity, ADtests, AD_performance_regression, native, minibatch, interface_tests, sense_tests); diffeqfluxtests.jl stays commented out.
  • GROUP=QA activates test/qa and runs qa/qa.jl.
  • GROUP=GPU activates test/downstream and runs downstream/gpu_neural_ode.jl.
  • A bare lib/<Sublibrary> name (or <Sublibrary>_<group>) still routes to that sublibrary; Core/QA/GPU/All are never misrouted.
  • GROUP=All is a no-op, matching the old dispatcher (no All branch existed; default was Core).

Dep edits: add SciMLTesting to the root test deps and to test/qa/Project.toml and test/downstream/Project.toml (both run @safetestset bodies; SafeTestsets/Test added there too). Pkg is kept (the sublibrary pre-step uses it). test/test_groups.toml is unchanged.

Static-verified: TOML parse of every Project.toml + test_groups.toml; Meta.parseall of runtests.jl, qa.jl, and every included test file; Runic-clean.

Ignore until reviewed by @ChrisRackauckas.

Convert the root test suite to SciMLTesting v1.2. The repo is a monorepo with
lib/<Sublibrary> sub-packages, an OPTIMIZATION_TEST_GROUP sublibrary handoff, and
a GPU group with its own `downstream` environment, so the explicit-args form of
run_tests is used (folder-discovery cannot express sublibrary routing or a
per-group env). The sublibrary pre-step is kept verbatim to preserve its
--check-bounds arg, force_latest_compatible_version=false, and the pre-1.11
transitive [sources] develop walk.

Add SciMLTesting to the root test deps and to the qa and downstream sub-envs
(both run @safetestset bodies); keep Pkg (used by the sublibrary pre-step).
test_groups.toml is unchanged.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 14, 2026 23:54
@ChrisRackauckas ChrisRackauckas merged commit 48a4a96 into SciML:master Jun 14, 2026
32 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants