update run_builder, build_sources integration tests for more coverage

This commit is contained in:
josh committed 2017-05-23 16:45:21 -04:00
1 parent adcee373df
commit 221cde7e5f
2 files changed
+20 -1

No files matched your search

+9 -1
View File
@@ -10,5 +10,13 @@ end
Rscons::Environment.new do |env|
env.add_builder(MyProgram.new)
env.MyProgram("simple.exe", "simple.c")
env.Object("simple.o", "simple.c")
File.open("two.c", "wb") do |fh|
fh.puts <<-EOF
void two(void)
{
}
EOF
end
env.MyProgram("simple.exe", ["simple.o", "two.c"])
end