using Logging
io = open("test_log.txt", "w+")
logger = SimpleLogger(io)
with_logger(logger) do
    testdirectory = dirname(@__FILE__)
    cd(testdirectory)
    directories = readdir()
    for directory in directories
        if isdir(directory)
            include(joinpath(directory, "runtest.jl"))
        end
        cd(testdirectory)
    end
end
