Skip to content

Commit

Permalink
pkg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Jan 29, 2018
1 parent 0768b3a commit 4154995
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
/tmp/julia/bin/julia-debug --sysimage-native-code=no -e 'true' &&
pushd /tmp/julia/share/julia/test &&
/tmp/julia/bin/julia --check-bounds=yes runtests.jl all --skip socket | bar -i 30 &&
/tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online download &&
/tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online Pkg download &&
popd &&
mkdir /tmp/embedding-test &&
make check -C /tmp/julia/share/doc/julia/examples/embedding \
Expand Down
2 changes: 1 addition & 1 deletion .freebsdci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runtests(){

gmake testall \
test-download \
test-pkg \
test-Pkg \
test-libgit2-online
}

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ script:
- /tmp/julia/bin/julia -e 'versioninfo()'
- pushd /tmp/julia/share/julia/test
- /tmp/julia/bin/julia --check-bounds=yes runtests.jl $TESTSTORUN &&
/tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online download
/tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online Pkg download
- popd
# test that the embedding code works on our installation
- mkdir /tmp/embedding-test &&
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ build_script:
test_script:
- usr\bin\julia -e "versioninfo()"
- usr\bin\julia --sysimage-native-code=no -e "true"
- cd julia-* && .\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl all &&
- cd julia-* && .\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl Pkg all &&
.\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl libgit2-online download
- cd ..
- usr\bin\julia usr\share\doc\julia\examples\embedding\embedding-test.jl examples\embedding\embedding.exe
1 change: 1 addition & 0 deletions stdlib/InteractiveUtils/src/InteractiveUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ using Base: unwrap_unionall, rewrap_unionall, isdeprecated, Bottom, show_expr_ty
to_tuple_type, signature_type, format_bytes

using Markdown
import Pkg

include("editless.jl")
include("codeview.jl")
Expand Down
2 changes: 0 additions & 2 deletions stdlib/Pkg/src/Pkg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ custom METADATA setup.
init(meta::AbstractString=DEFAULT_META, branch::AbstractString=META_BRANCH) = Dir.init(meta,branch)

function __init__()
Base.PKG_MODULE_REF[] = Pkg

vers = "v$(VERSION.major).$(VERSION.minor)"
pushfirst!(Base.LOAD_PATH, dir)
pushfirst!(Base.LOAD_CACHE_PATH, abspath(Dir._pkgroot(), "lib", vers))
Expand Down
4 changes: 3 additions & 1 deletion test/choosetests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ using Random

const STDLIB_DIR = joinpath(Sys.BINDIR, "..", "share", "julia", "site", "v$(VERSION.major).$(VERSION.minor)")
const STDLIBS = readdir(STDLIB_DIR)
# Pkg tests are run separately
filter!(x -> x != "Pkg", STDLIBS)

@doc """
Expand Down Expand Up @@ -157,7 +159,7 @@ function choosetests(choices = [])
filter!(x -> (x != "Profile"), tests)
end

net_required_for = ["socket", "stdlib", "libgit2", "Pkg"]
net_required_for = ["socket", "libgit2"]
net_on = true
try
ipa = getipaddr()
Expand Down

0 comments on commit 4154995

Please sign in to comment.