Skip to content

Commit

Permalink
selected_plots_only
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 authored Oct 30, 2023
1 parent b2c4a08 commit 3bd0791
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ else
test_higher_order = true
end

if Sys.iswindows()
selected_plots_only = true
else
selected_plots_only = false
end

println("Threads used: ", Threads.nthreads())

include("functionality_tests.jl")
Expand Down Expand Up @@ -68,7 +74,7 @@ if test_higher_order

@testset verbose = true "FS2000 pruned second order" begin
include("models/FS2000.jl")
functionality_test(m, algorithm = :pruned_second_order, plots = true)
functionality_test(m, algorithm = :pruned_second_order, plots = selected_plots_only)
end
m = nothing
GC.gc()
Expand All @@ -82,7 +88,7 @@ if test_higher_order

@testset verbose = true "FS2000 pruned third order" begin
include("models/FS2000.jl")
functionality_test(m, algorithm = :pruned_third_order, plots = true)
functionality_test(m, algorithm = :pruned_third_order, plots = selected_plots_only)
end
m = nothing
GC.gc()
Expand All @@ -99,7 +105,7 @@ GC.gc()

@testset verbose = true "SW07 with calibration equations" begin
include("models/SW07.jl")
functionality_test(m, plots = false)
functionality_test(m, plots = selected_plots_only)
end
m = nothing
GC.gc()
Expand Down

0 comments on commit 3bd0791

Please sign in to comment.