Skip to content

Commit b6e6d3c

Browse files
committed
Fix compile errors reporting in rspec
1 parent 3e8a6cb commit b6e6d3c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4343
- A missing `examples` directory no longer causes a crash in `cpp_library.rb`
4444
- Referring to an undefined platform no longer causes a crash; it's now a helpful error message
4545
- A copy/paste error that prevented compiler warning flags from being supplied has been fixed, via jgfoster
46+
- RSpec was not communicating compile errors from unit test executables that failed to build. Now it does, via jgfoster
4647

4748
### Security
4849

spec/testsomething_unittests_spec.rb

+1-4
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,8 @@
8989
end
9090
end
9191

92-
it "#{tfn} builds successfully" do
92+
it "#{tfn} builds successfully and passes tests" do
9393
expect(@exe).not_to be nil
94-
end
95-
it "#{tfn} passes tests" do
96-
skip "Can't run the test program because it failed to build" if @exe.nil?
9794
expect(@cpp_library.run_test_file(@exe)).to_not be_falsey
9895
end
9996
end

0 commit comments

Comments
 (0)