Skip to content

Commit

Permalink
Inherit PATH from shell for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robama committed Feb 7, 2019
1 parent f3bd0e3 commit 96288a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/testExamples.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe("the analysis", function() {
child_process.execFile(
"node", [scriptPath, "--analysis", analysisDir, filePath], {
env: {
PATH: process.env.PATH,
SOLVER: "cvc4",
CVC4_PATH: cvc4Path
}
Expand All @@ -45,6 +46,7 @@ describe("the analysis", function() {
child_process.execFile(
"node", [scriptPath, "--analysis", analysisDir, filePath], {
env: {
PATH: process.env.PATH,
SOLVER: "z3",
Z3_PATH: z3Path
}
Expand Down

0 comments on commit 96288a5

Please sign in to comment.