cloned Environments should inherit n_threads - close #42
This commit is contained in:
1 parent
2a96495e83
commit
775363ddbd
3 files changed
+15
No files matched your search
@@ -762,6 +762,13 @@ EOF
|
||||
expect(result.stderr).to match /Failed to build foo_4/
|
||||
end
|
||||
|
||||
it "clones n_threads attribute when cloning an Environment" do
|
||||
test_dir("simple")
|
||||
result = run_test(rsconsfile: "clone_n_threads.rb")
|
||||
expect(result.stderr).to eq ""
|
||||
expect(lines(result.stdout)).to eq ["165"]
|
||||
end
|
||||
|
||||
context "backward compatibility" do
|
||||
it "allows a builder to call Environment#run_builder in a non-threaded manner" do
|
||||
test_dir("simple")
|
||||
|
||||
Reference in new issue
Block a user