Skip to content

Commit

Permalink
Respect startup-file during Pkg.build and Pkg.test
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed May 29, 2017
1 parent 355bdf4 commit 582662c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/pkg/entry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 582662c

Please sign in to comment.