Skip to content

Commit 5910d1a

Browse files
committed
Style cleanup
1 parent b03e149 commit 5910d1a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

CHANGELOG.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2525
- `arduino_ci.rb --help` no longer crashes
2626

2727
- Fix missing `LED_BUILTIN` definition for Arduino Due, Zero and Circuit Playground.
28-
- No longer ignore failures if the first step of compiling files for the
29-
unit test fails.
28+
- No longer ignore failures if the first step of compiling files for the unit test fails.
3029

3130
### Security
3231

exe/arduino_ci.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,7 @@ def perform_unit_tests(cpp_library, file_config)
435435
puts
436436
compilers.each do |gcc_binary|
437437
# before compiling the tests, build a shared library of everything except the test code
438-
build_result = build_shared_library(gcc_binary, p, config, cpp_library)
439-
@failure_count += 1 unless build_result
440-
next unless build_result
438+
next @failure_count += 1 unless build_shared_library(gcc_binary, p, config, cpp_library)
441439

442440
# now build and run each test using the shared library build above
443441
config.allowable_unittest_files(cpp_library.test_files).each do |unittest_path|

0 commit comments

Comments
 (0)