@@ -18,6 +18,7 @@ if haskey(ENV, "CI")
1818end
1919
2020@testset " PackageCompiler.jl" begin
21+ @testset " create_sysimage" begin
2122 new_project = mktempdir ()
2223 old_project = Base. ACTIVE_PROJECT[]
2324 Base. ACTIVE_PROJECT[] = new_project
4849 @test occursin (" Hello, foo" , str)
4950 @test occursin (" I am a script" , str)
5051 @test occursin (" opt: -O1" , str)
52+ end # testset
5153
54+ @testset " create_app" begin
5255 # Test creating an app
5356 app_source_dir = joinpath (@__DIR__ , " .." , " examples/MyApp/" )
5457 app_compiled_dir = joinpath (tmp, " MyAppCompiled" )
55- for incremental in (is_slow_ci ? (false ,) : (true , false ))
58+ @testset for incremental in (is_slow_ci ? (false ,) : (true , false ))
5659 if incremental == false
5760 filter_stdlibs = (is_slow_ci ? (true , ) : (true , false ))
5861 else
5962 filter_stdlibs = (false ,)
6063 end
61- for filter in filter_stdlibs
64+ @testset for filter in filter_stdlibs
6265 tmp_app_source_dir = joinpath (tmp, " MyApp" )
6366 cp (app_source_dir, tmp_app_source_dir)
6467 create_app (tmp_app_source_dir, app_compiled_dir; incremental= incremental, force= true , filter_stdlibs= filter, include_lazy_artifacts= true ,
137140 @test p. exitcode == 1
138141 end
139142 end
143+ end # testset
140144
141145 if ! is_slow_ci
142146 # Test library creation
0 commit comments