Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Be more verbose about unit test availability
  • Loading branch information
ianfixes committed Sep 12, 2018
commit e8fde3a73b4f264bd9cbeb7e28eac18931129027
6 changes: 4 additions & 2 deletions exe/arduino_ci_remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ def assured_platform(purpose, name, config)

# iterate boards / tests
last_board = nil
if cpp_library.test_files.empty?
attempt("Skipping unit tests; no test files were found") { true }
if !File.exist?(cpp_library.tests_dir)
attempt("Skipping unit tests; no tests dir at #{cpp_library.tests_dir}") { true }
elsif cpp_library.test_files.empty?
attempt("Skipping unit tests; no test files were found in #{cpp_library.tests_dir}") { true }
elsif config.platforms_to_unittest.empty?
attempt("Skipping unit tests; no platforms were requested") { true }
else
Expand Down