From 2d64ecd9e597a68029e6b1d009fe3a6a418cf2db Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sat, 8 Mar 2025 10:20:34 -0500 Subject: [PATCH] test: print progress while running tests (#857) * test: print progress while running tests * test: remove unused deps --- test/Project.toml | 4 ++-- test/runtests.jl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 8d4664028..c66d9cdb2 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,7 +1,6 @@ [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" -BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9" @@ -29,11 +28,11 @@ StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +TestSetExtensions = "98d24dd4-01ad-11ea-1b02-c9a08f80db04" [compat] Adapt = "4.1" ArrayInterface = "7.17.1" -BenchmarkTools = "1.5" CUDA = "5.5" Distributions = "0.25" Enzyme = "0.13.28" @@ -61,6 +60,7 @@ StableRNGs = "1" Statistics = "1.10" StatsBase = "0.34" Test = "1.10" +TestSetExtensions = "3" [extras] Reactant_jll = "0192cb87-2b54-54ad-80e0-3be72ad8a3c0" diff --git a/test/runtests.jl b/test/runtests.jl index 1e848d171..979e6a461 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,4 @@ -using Reactant, SafeTestsets, Test +using Reactant, SafeTestsets, Test, TestSetExtensions # parse some command-line arguments function extract_flag!(args, flag, default=nothing; typ=typeof(default)) @@ -41,7 +41,7 @@ end const REACTANT_TEST_GROUP = lowercase(get(ENV, "REACTANT_TEST_GROUP", "all")) -@testset "Reactant.jl Tests" begin +@testset ExtendedTestSet "Reactant.jl Tests" begin if REACTANT_TEST_GROUP == "all" || REACTANT_TEST_GROUP == "core" @safetestset "Layout" include("layout.jl") @safetestset "Tracing" include("tracing.jl")