Add PATH manipulation methods - close #126
This commit is contained in:
1 parent
80d52f25b8
commit
f011b23499
7 files changed
+85
No files matched your search
@@ -1475,6 +1475,15 @@ EOF
|
||||
expect(result.status).to eq 0
|
||||
end
|
||||
|
||||
it "allows prepending and appending to PATH" do
|
||||
test_dir "simple"
|
||||
result = run_rscons(rsconscript: "pathing.rb")
|
||||
expect(result.stderr).to eq ""
|
||||
expect(result.stdout).to match /flex!/
|
||||
expect(result.stdout).to match /foobar!/
|
||||
expect(File.exist?("simple.o")).to be_truthy
|
||||
end
|
||||
|
||||
context "debugging" do
|
||||
it "prints a message when the target does not exist" do
|
||||
test_dir("simple")
|
||||
|
||||
Reference in new issue
Block a user