Skip to content

Commit d78e7af

Browse files
committed
Improve error messages
1 parent e26b266 commit d78e7af

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

test/runtests.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ KiteUtils.set_data_path("")
3434
title = titlecase(replace(splitext(file[6:end])[1], "-" => " "))
3535
title = rpad(title, 25)
3636
@testset "$title" begin
37-
Base.include(Module(), joinpath(@__DIR__, file))
37+
path = joinpath(@__DIR__, file)
38+
try
39+
Base.include(Module(), path)
40+
catch err
41+
@error "Test file failed" file=path exception=(err, catch_backtrace())
42+
rethrow()
43+
end
3844
end
3945
end
4046
end

0 commit comments

Comments
 (0)