add build test for a builder waiting on another builder
This commit is contained in:
1 parent
b882f8de99
commit
658b73e4de
2 files changed
+33
No files matched your search
@@ -350,6 +350,16 @@ EOF
|
||||
expect(File.exists?("foo")).to be_truthy
|
||||
end
|
||||
|
||||
it 'supports a Builder waiting for another Builder' do
|
||||
test_dir "simple"
|
||||
result = run_rscons(rsconscript: "builder_wait_for_builder.rb")
|
||||
expect(result.stderr).to eq ""
|
||||
expect(result.status).to eq 0
|
||||
expect(lines(result.stdout)).to include "MyObject simple.o"
|
||||
expect(File.exists?("simple.o")).to be_truthy
|
||||
expect(File.exists?("simple.exe")).to be_truthy
|
||||
end
|
||||
|
||||
it 'allows cloning Environment objects' do
|
||||
test_dir('clone_env')
|
||||
result = run_rscons
|
||||
|
||||
Reference in new issue
Block a user