Use SciMLTesting v1.2 (folder-based run_tests)#1225
Merged
ChrisRackauckas merged 1 commit intoJun 14, 2026
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converts the root test suite to the SciMLTesting v1.2
run_testsharness.Optimization.jl is a monorepo (
lib/<Sublibrary>sub-packages,OPTIMIZATION_TEST_GROUPsublibrary handoff) with aGPUgroup that activates its owntest/downstreamenvironment, so the explicit-args form ofrun_testsis 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=autojulia 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=Coreruns the same 8 top-level files (utils, verbosity, ADtests, AD_performance_regression, native, minibatch, interface_tests, sense_tests);diffeqfluxtests.jlstays commented out.GROUP=QAactivatestest/qaand runsqa/qa.jl.GROUP=GPUactivatestest/downstreamand runsdownstream/gpu_neural_ode.jl.lib/<Sublibrary>name (or<Sublibrary>_<group>) still routes to that sublibrary;Core/QA/GPU/Allare never misrouted.GROUP=Allis a no-op, matching the old dispatcher (noAllbranch existed; default wasCore).Dep edits: add
SciMLTestingto the root test deps and totest/qa/Project.tomlandtest/downstream/Project.toml(both run@safetestsetbodies;SafeTestsets/Testadded there too).Pkgis kept (the sublibrary pre-step uses it).test/test_groups.tomlis unchanged.Static-verified: TOML parse of every Project.toml + test_groups.toml;
Meta.parseallof runtests.jl, qa.jl, and every included test file; Runic-clean.Ignore until reviewed by @ChrisRackauckas.