Skip to content

Commit badf679

Browse files
committed
Verbose testing
1 parent 096a368 commit badf679

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

test/runtests.jl

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ function blas()
1515
end
1616
end
1717

18-
@testset "BLISBLAS.jl" begin
19-
@testset "Sanity Tests" begin
18+
@testset verbose=true "BLISBLAS.jl tests" begin
19+
@testset verbose=true "Sanity Tests" begin
2020
@test blas() == :openblas
2121
using BLISBLAS
2222
@test blas() == :blis
2323
@test LinearAlgebra.peakflops() > 0
2424
end
2525

26-
@testset "BLAS threads" begin
26+
@testset verbose=true "BLAS threads" begin
2727
@test isnothing(BLISBLAS.set_num_threads(1))
2828
@test BLISBLAS.get_num_threads() == 1
2929
@test isnothing(BLISBLAS.set_num_threads(2))
@@ -32,12 +32,13 @@ end
3232
@test BLISBLAS.get_num_threads() == 3
3333
end
3434

35-
@testset "BLAS and LAPACK" begin
36-
# run all BLAS and LAPACK tests of the LinearAlgebra stdlib:
37-
# - LinearAlgebra/test/blas.jl
38-
# - LinearAlgebra/test/lapack.jl
39-
linalg_stdlib_test_path = joinpath(dirname(pathof(LinearAlgebra)), "..", "test")
35+
linalg_stdlib_test_path = joinpath(dirname(pathof(LinearAlgebra)), "..", "test")
36+
37+
@testset verbose=true "LinearAlgebra.jl BLAS tests" begin
4038
joinpath(linalg_stdlib_test_path, "blas.jl") |> include
39+
end
40+
41+
@testset verbose=true "LinearAlgebra.jl LAPACK tests" begin
4142
joinpath(linalg_stdlib_test_path, "lapack.jl") |> include
4243
end
4344
end

0 commit comments

Comments
 (0)