Skip to content

Commit

Permalink
debug - turn off other tests, turn on printout from test
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomotani committed Sep 29, 2024
1 parent 098e186 commit 8883d37
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 276 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/debug_checks.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/documentation.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/documentation_cleanup.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/examples.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/longtest.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/parallel_test.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/test_scripts.yml

This file was deleted.

8 changes: 4 additions & 4 deletions moment_kinetics/test/braginskii_electrons_imex_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ function run_test(test_input, expected_p, expected_q, expected_vt; rtol=1.e-6,
p = undef
q = undef
vt = undef
quietoutput() do
#quietoutput() do
# run simulation
run_moment_kinetics(input)
end
#end

if global_rank[] == 0
quietoutput() do
#quietoutput() do
# Load and analyse output
#########################

Expand All @@ -152,7 +152,7 @@ function run_test(test_input, expected_p, expected_q, expected_vt; rtol=1.e-6,
p = parallel_pressure_zrt[:,1,:]
q = parallel_heat_flux_zrt[:,1,:]
vt = thermal_speed_zrt[:,1,:]
end
#end

# Regression test
actual_p = p[begin:3:end, end]
Expand Down
34 changes: 17 additions & 17 deletions moment_kinetics/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ include("setup.jl")

function runtests()
@testset "moment_kinetics tests" verbose=use_verbose begin
include(joinpath(@__DIR__, "calculus_tests.jl"))
include(joinpath(@__DIR__, "interpolation_tests.jl"))
include(joinpath(@__DIR__, "loop_setup_tests.jl"))
include(joinpath(@__DIR__, "nonlinear_solver_tests.jl"))
include(joinpath(@__DIR__, "velocity_integral_tests.jl"))
include(joinpath(@__DIR__, "sound_wave_tests.jl"))
include(joinpath(@__DIR__, "nonlinear_sound_wave_tests.jl"))
include(joinpath(@__DIR__, "Krook_collisions_tests.jl"))
include(joinpath(@__DIR__, "restart_interpolation_tests.jl"))
include(joinpath(@__DIR__, "harrisonthompson.jl"))
include(joinpath(@__DIR__, "wall_bc_tests.jl"))
include(joinpath(@__DIR__, "recycling_fraction_tests.jl"))
#include(joinpath(@__DIR__, "calculus_tests.jl"))
#include(joinpath(@__DIR__, "interpolation_tests.jl"))
#include(joinpath(@__DIR__, "loop_setup_tests.jl"))
#include(joinpath(@__DIR__, "nonlinear_solver_tests.jl"))
#include(joinpath(@__DIR__, "velocity_integral_tests.jl"))
#include(joinpath(@__DIR__, "sound_wave_tests.jl"))
#include(joinpath(@__DIR__, "nonlinear_sound_wave_tests.jl"))
#include(joinpath(@__DIR__, "Krook_collisions_tests.jl"))
#include(joinpath(@__DIR__, "restart_interpolation_tests.jl"))
#include(joinpath(@__DIR__, "harrisonthompson.jl"))
#include(joinpath(@__DIR__, "wall_bc_tests.jl"))
#include(joinpath(@__DIR__, "recycling_fraction_tests.jl"))
include(joinpath(@__DIR__, "braginskii_electrons_imex_tests.jl"))
include(joinpath(@__DIR__, "fokker_planck_tests.jl"))
include(joinpath(@__DIR__, "fokker_planck_time_evolution_tests.jl"))
include(joinpath(@__DIR__, "gyroaverage_tests.jl"))
include(joinpath(@__DIR__, "jacobian_matrix_tests.jl"))
include(joinpath(@__DIR__, "kinetic_electron_tests.jl"))
#include(joinpath(@__DIR__, "fokker_planck_tests.jl"))
#include(joinpath(@__DIR__, "fokker_planck_time_evolution_tests.jl"))
#include(joinpath(@__DIR__, "gyroaverage_tests.jl"))
#include(joinpath(@__DIR__, "jacobian_matrix_tests.jl"))
#include(joinpath(@__DIR__, "kinetic_electron_tests.jl"))
end
end

Expand Down

0 comments on commit 8883d37

Please sign in to comment.