remove Program builder non-integration specs

This commit is contained in:
Josh Holtrop 2017-05-22 16:57:35 -04:00
parent 957fd8c86d
commit c7bba77581

View File

@ -1,28 +0,0 @@
module Rscons
module Builders
describe Program do
let(:env) {Environment.new}
subject {Program.new}
it "supports overriding CC construction variable" do
expect(subject).to receive(:standard_build).with("LD prog", "prog", ["sp-c++", "-o", "prog", "prog.o"], ["prog.o"], env, :cache)
subject.run(
target: "prog",
sources: ["prog.o"],
cache: :cache,
env: env,
vars: {"CC" => "sp-c++"})
end
it "supports overriding LDCMD construction variable" do
expect(subject).to receive(:standard_build).with("LD prog.exe", "prog.exe", ["special", "LD!", "prog.o"], ["prog.o"], env, :cache)
subject.run(
target: "prog.exe",
sources: ["prog.o"],
cache: :cache,
env: env,
vars: {"LDCMD" => ["special", "LD!", "${_SOURCES}"]})
end
end
end
end