https://github.com/JuliaLang/julia
Raw File
Tip revision: c0dc384e7360bf6f4b204445d8c8ce3d997d6d5e authored by Jameson Nash on 28 October 2015, 01:36:57 UTC
add runtime emulation for the cglobal intrinsic
Tip revision: c0dc384
test_sourcepath.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license

# source path in tasks
path = Base.source_path()::ByteString # this variable is leaked to the source script
@test endswith(path, joinpath("test","test_sourcepath.jl"))
@test yieldto(@task Base.source_path()) == path
@test isabspath(@__FILE__)
back to top