We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e584b8d commit d3d398fCopy full SHA for d3d398f
lib/arduino_ci/ci_config.rb
@@ -231,7 +231,7 @@ def aux_libraries_for_unittest
231
# @param paths [Array<String>] the initial set of test files
232
# @return [Array<String>] files that match the select/reject criteria
233
def allowable_unittest_files(paths)
234
- return if @unittest_info[:testfiles].nil?
+ return paths if @unittest_info[:testfiles].nil?
235
ret = paths
236
unless @unittest_info[:testfiles][:select].nil? || @unittest_info[:testfiles][:select].empty?
237
ret = ret.select { |p| unittest_info[:testfiles][:select].any? { |glob| File.fnmatch(glob, File.basename(p)) } }
0 commit comments