diff --git a/test/runtests.jl b/test/runtests.jl index fab2d3f172..88901d4ae3 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -3,52 +3,52 @@ include("helpers.jl") # tests that start new processes: @timeit_include("compiletimes.jl") -# verify_no_running_processes() -# if get(ENV, "PLUTO_TEST_ONLY_COMPILETIMES", nothing) == "true" -# print_timeroutput() -# exit(0) -# end -# @timeit_include("Events.jl") -# verify_no_running_processes() -# @timeit_include("Configuration.jl") -# verify_no_running_processes() -# @timeit_include("packages/Basic.jl") -# verify_no_running_processes() -# @timeit_include("Bonds.jl") -# verify_no_running_processes() -# @timeit_include("RichOutput.jl") -# verify_no_running_processes() -# @timeit_include("React.jl") -# verify_no_running_processes() -# @timeit_include("Dynamic.jl") -# verify_no_running_processes() -# @timeit_include("MacroAnalysis.jl") -# verify_no_running_processes() -# @timeit_include("Logging.jl") -# verify_no_running_processes() -# @timeit_include("webserver.jl") -# verify_no_running_processes() -# @timeit_include("Notebook.jl") -# verify_no_running_processes() -# @timeit_include("WorkspaceManager.jl") -# verify_no_running_processes() -# -# # tests that don't start new processes: -# @timeit_include("ReloadFromFile.jl") -# @timeit_include("packages/PkgCompat.jl") +verify_no_running_processes() +if get(ENV, "PLUTO_TEST_ONLY_COMPILETIMES", nothing) == "true" + print_timeroutput() + exit(0) +end +@timeit_include("Events.jl") +verify_no_running_processes() +@timeit_include("Configuration.jl") +verify_no_running_processes() +@timeit_include("packages/Basic.jl") +verify_no_running_processes() +@timeit_include("Bonds.jl") +verify_no_running_processes() +@timeit_include("RichOutput.jl") +verify_no_running_processes() +@timeit_include("React.jl") +verify_no_running_processes() +@timeit_include("Dynamic.jl") +verify_no_running_processes() +@timeit_include("MacroAnalysis.jl") +verify_no_running_processes() +@timeit_include("Logging.jl") +verify_no_running_processes() +@timeit_include("webserver.jl") +verify_no_running_processes() +@timeit_include("Notebook.jl") +verify_no_running_processes() +@timeit_include("WorkspaceManager.jl") +verify_no_running_processes() + +# tests that don't start new processes: +@timeit_include("ReloadFromFile.jl") +@timeit_include("packages/PkgCompat.jl") @timeit_include("ExpressionExplorer.jl") -# @timeit_include("MethodSignatures.jl") -# @timeit_include("MoreAnalysis.jl") -# @timeit_include("Analysis.jl") -# @timeit_include("webserver_utils.jl") -# @timeit_include("data structures.jl") -# @timeit_include("DependencyCache.jl") -# @timeit_include("Throttled.jl") -# @timeit_include("cell_disabling.jl") -# -# verify_no_running_processes() -# -# print_timeroutput() +@timeit_include("MethodSignatures.jl") +@timeit_include("MoreAnalysis.jl") +@timeit_include("Analysis.jl") +@timeit_include("webserver_utils.jl") +@timeit_include("data structures.jl") +@timeit_include("DependencyCache.jl") +@timeit_include("Throttled.jl") +@timeit_include("cell_disabling.jl") + +verify_no_running_processes() + +print_timeroutput() # TODO: test PlutoRunner functions like: # - from_this_notebook