Skip to content

Commit

Permalink
Use regexp to find test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jun 26, 2019
1 parent 8f835be commit 392d970
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions test/runtests.jl
Expand Up @@ -2,13 +2,9 @@ module TestAqua

using Test

@testset "$path" for path in [
"test_smoke.jl"
"test_ambiguities.jl"
"test_unbound_args.jl"
"test_undefined_exports.jl"
]
include(path)
@testset "$file" for file in sort([file for file in readdir(@__DIR__) if
match(r"^test_.*\.jl$", file) !== nothing])
include(file)
end

end # module

0 comments on commit 392d970

Please sign in to comment.