From c340cdc593dc24f1c0813527501e289ea79cf8be Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Tue, 19 Nov 2024 19:57:02 +0530 Subject: [PATCH] fix: fix MTK indexing tests (#509) --- test/mtk_cache_indexing_tests.jl | 1 + test/runtests.jl | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/mtk_cache_indexing_tests.jl b/test/mtk_cache_indexing_tests.jl index dc11a1147..633c20d82 100644 --- a/test/mtk_cache_indexing_tests.jl +++ b/test/mtk_cache_indexing_tests.jl @@ -1,6 +1,7 @@ @testitem "Modeling Toolkit Cache Indexing" tags=[:downstream] begin using ModelingToolkit using ModelingToolkit: t_nounits as t + using SymbolicIndexingInterface import NonlinearSolveBase, NonlinearSolveFirstOrder @parameters p d diff --git a/test/runtests.jl b/test/runtests.jl index c8e8b0f4e..bfdd07b35 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -5,8 +5,10 @@ using ReTestItems, NonlinearSolve, Hwloc, InteractiveUtils, Pkg const GROUP = lowercase(get(ENV, "GROUP", "All")) const EXTRA_PKGS = Pkg.PackageSpec[] -(GROUP == "all" || GROUP == "downstream") && +if GROUP == "all" || GROUP == "downstream" push!(EXTRA_PKGS, Pkg.PackageSpec("ModelingToolkit")) + push!(EXTRA_PKGS, Pkg.PackageSpec("SymbolicIndexingInterface")) +end length(EXTRA_PKGS) ≥ 1 && Pkg.add(EXTRA_PKGS) const RETESTITEMS_NWORKERS = parse(