tracks/julia/runtests.jl in trackler-2.1.0.34 vs tracks/julia/runtests.jl in trackler-2.1.0.36

- old
+ new

@@ -1,6 +1,19 @@ using Base.Test +import Base.Test.@test_skip, Base.Test.@test_broken + +# When testing the example solution, all tests must pass, even ones marked as skipped or broken. +# The track user will not be affected by this. +# Overwrite @test_skip, @test_broken with @test +macro test_skip(ex) + @test eval(ex) +end + +macro test_broken(ex) + @test eval(ex) +end + for (root, dirs, files) in walkdir("exercises") for exercise in dirs # Allow only testing specified execises if !isempty(ARGS) && !(exercise in ARGS) continue