-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviortestsystemThe unit testing framework and Test stdlibThe unit testing framework and Test stdlib
Description
per https://discourse.julialang.org/t/how-to-use-test-skip-properly/2628
The following code will cause CI to fail, even though @test_skip should not contribute to CI success/failure:
using LightGraphs
using LightGraphs.LinAlg
using Base.Test
@testset "foo" begin
@test_skip 1 == 2
end
yields
julia> Pkg.test("LightGraphs")
INFO: Testing LightGraphs
Test Summary: | Broken Total
foo | 1 1
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 0 errored, 1 broken.
causing a CI failure.
This is apparently fixed in 0.6, but I haven't been able to confirm that yet.
StefanKarpinski and c42f
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviortestsystemThe unit testing framework and Test stdlibThe unit testing framework and Test stdlib