add integration test for Environment#build_sources

This commit is contained in:
josh committed 2017-05-23 16:28:13 -04:00
1 parent e58b8bd109
commit adcee373df
2 files changed
+24

No files matched your search

+10
View File
@@ -641,6 +641,16 @@ EOF
]
end
it "allows a builder to call Environment#build_sources in a non-threaded manner" do
test_dir("simple")
result = run_test(rsconsfile: "build_sources.rb")
expect(result.stderr).to eq ""
expect(lines(result.stdout)).to eq [
"CC simple.o",
"MyProgram simple.exe",
]
end
context "Directory builder" do
it "creates the requested directory" do
test_dir("simple")