convert Object builder specs to integration tests
This commit is contained in:
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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user