Skip to content

Commit

Permalink
change back
Browse files Browse the repository at this point in the history
  • Loading branch information
shipengcheng1230 committed Jun 25, 2019
1 parent 7af3866 commit 231d3f4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using JuEQ

const TESTDIR = @__DIR__

if isempty(ARGS)
TESTFILES = filter(x -> startswith(x, "test_") && endswith(x, ".jl"), readdir(TESTDIR))
else
TESTFILES = filter(x -> startswith(x, "_") && endswith(x, ".jl"), readdir(TESTDIR))
end

const TESTFILES = filter(x -> startswith(x, "test_") && endswith(x, ".jl"), readdir(TESTDIR))
foreach(x -> include(joinpath(TESTDIR, x)), TESTFILES)

0 comments on commit 231d3f4

Please sign in to comment.