From 582662cf6ae47b321d03e1583dd32ce1b06fa3fb Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Fri, 26 May 2017 19:12:55 -0500 Subject: [PATCH] Respect startup-file during Pkg.build and Pkg.test --- base/pkg/entry.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/pkg/entry.jl b/base/pkg/entry.jl index 7b417a72e23b35..273179829cbf2b 100644 --- a/base/pkg/entry.jl +++ b/base/pkg/entry.jl @@ -610,6 +610,7 @@ function build(pkg::AbstractString, build_file::AbstractString, errfile::Abstrac --color=$(Base.have_color ? "yes" : "no") --compilecache=$(Bool(Base.JLOptions().use_compilecache) ? "yes" : "no") --history-file=no + --startup-file=$(Bool(Base.JLOptions().startupfile) ? "yes" : "no") --eval $code ``` @@ -717,6 +718,7 @@ function test!(pkg::AbstractString, --color=$(Base.have_color ? "yes" : "no") --compilecache=$(Bool(Base.JLOptions().use_compilecache) ? "yes" : "no") --check-bounds=yes + --startup-file=$(Bool(Base.JLOptions().startupfile) ? "yes" : "no") $test_path ``` run(cmd)