Integration test for --debug-symbols
But only checks that the command works. Not that `dsymutil` is called or that `-g` is added to the compile args. (Not sure how to do either in an integration test.)
This commit is contained in:
parent
cd9fe97c55
commit
15f1ac8775
@ -72,4 +72,14 @@ describe "brew install" do
|
||||
.and be_a_success
|
||||
expect(HOMEBREW_CELLAR/"testball1/HEAD-d5eb689/foo/test").not_to be_a_file
|
||||
end
|
||||
|
||||
it "installs formulae with debug symbols", :integration_test do
|
||||
setup_test_formula "testball1"
|
||||
|
||||
expect { brew "install", "testball1", "--debug-symbols", "-s" }
|
||||
.to output(%r{#{HOMEBREW_CELLAR}/testball1/0\.1}o).to_stdout
|
||||
.and not_to_output.to_stderr
|
||||
.and be_a_success
|
||||
expect(HOMEBREW_CELLAR/"testball1/0.1/foo/test").not_to be_a_file
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user