Skip to content

Commit

Permalink
Add JULIA_HOME to path in embedding-test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
musm committed Apr 28, 2017
1 parent 58242f2 commit 075a5bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/embedding/embedding-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
# tests the output of the embedding example is correct
using Base.Test

if is_windows()
# libjulia needs to be in the same directory as the embedding executable
ENV["PATH"] = JULIA_HOME*";"*ENV["PATH"]
end

@test length(ARGS) == 1
let
stdout = Pipe()
Expand Down

0 comments on commit 075a5bb

Please sign in to comment.