File tree 2 files changed +5
-2
lines changed
Filter options
2 files changed +5
-2
lines changed
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
### Added
10
10
- Add util/atomic.h
11
11
- ` Logger ` class to centralize CI runner script logging (in particular, indentation)
12
+ - Explicit reporting of free bytes after compilation
12
13
13
14
### Changed
14
15
- ` arduino_ci.rb ` uses new ` Logger `
Original file line number Diff line number Diff line change @@ -542,11 +542,13 @@ def perform_example_compilation_tests(cpp_library, config)
542
542
end
543
543
end
544
544
545
+ # reporting or enforcing of free space
546
+ usage = @backend . last_bytes_usage
547
+ @log . inform ( "Free space (bytes) after compilation" ) { usage [ :free ] }
545
548
next if @cli_options [ :min_free_space ] . nil?
546
549
547
- usage = @backend . last_bytes_usage
548
550
min_free_space = @cli_options [ :min_free_space ]
549
- @log . attempt ( "Checking that the free space of #{ usage [ :free ] } is at least the desired minimum of #{ min_free_space } " ) do
551
+ @log . attempt ( "Free space exceeds desired minimum #{ min_free_space } " ) do
550
552
min_free_space <= usage [ :free ]
551
553
end
552
554
end
You can’t perform that action at this time.
0 commit comments