convert Object builder specs to integration tests

This commit is contained in:
josh committed 2017-05-22 16:38:57 -04:00
1 parent 2be738be4f
commit 7e707e7e3b
5 files changed
+39 -52

No files matched your search

@@ -0,0 +1,6 @@
Rscons::Environment.new do |env|
File.open("foo.xyz", "wb") do |fh|
fh.puts("hi")
end
env.Object("foo.o", "foo.xyz")
end
+4
View File
@@ -0,0 +1,4 @@
Rscons::Environment.new(echo: :command) do |env|
env.Object("simple.o", "simple.c",
"CCCMD" => %w[${CC} -c -o ${_TARGET} -Dfoobar ${_SOURCES}])
end
@@ -0,0 +1,4 @@
Rscons::Environment.new(echo: :command) do |env|
env["DEPFILESUFFIX"] = ".deppy"
env.Object("simple.o", "simple.c")
end