Skip to content

Commit 4756777

Browse files
committed
Remove irrelevant board switching from unit testing
1 parent 80cbfa8 commit 4756777

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212
### Deprecated
1313

1414
### Removed
15+
* Unnecessary board changes during unit tests no longer happen
1516

1617
### Fixed
1718

exe/arduino_ci_remote.rb

-3
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,6 @@ def display_files(pathname)
236236
inform("Skipping unit tests") { "no platforms were requested" }
237237
else
238238
config.platforms_to_unittest.each do |p|
239-
board = all_platform_info[p][:board]
240-
assure("Switching to board for #{p} (#{board})") { @arduino_cmd.use_board(board) } unless last_board == board
241-
last_board = board
242239
cpp_library.test_files.each do |unittest_path|
243240
unittest_name = unittest_path.basename.to_s
244241
compilers.each do |gcc_binary|

0 commit comments

Comments
 (0)