add configure spec testing --prefix
This commit is contained in:
parent
c0a28d0207
commit
28e3781331
@ -1870,11 +1870,12 @@ EOF
|
||||
it "does everything" do
|
||||
test_dir "configure"
|
||||
create_exe "pkg-config", "echo '-DMYPACKAGE'"
|
||||
result = run_rscons(rsconscript: "everything.rb", op: %w[configure --build=bb])
|
||||
result = run_rscons(rsconscript: "everything.rb", op: %w[configure --build=bb --prefix=/my/prefix])
|
||||
expect(result.stderr).to eq ""
|
||||
expect(result.status).to eq 0
|
||||
expect(result.stdout).to match /Configuring configure test\.\.\./
|
||||
expect(result.stdout).to match /Setting build directory\.\.\. bb/
|
||||
expect(result.stdout).to match %r{Setting prefix\.\.\. /my/prefix}
|
||||
expect(result.stdout).to match /Checking for C compiler\.\.\. gcc/
|
||||
expect(result.stdout).to match /Checking for C\+\+ compiler\.\.\. g++/
|
||||
expect(result.stdout).to match /Checking for D compiler\.\.\. gdc/
|
||||
|
Loading…
x
Reference in New Issue
Block a user