Skip to content

Commit d3d398f

Browse files
committed
fixup add ability to slim list of unit tests
1 parent e584b8d commit d3d398f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arduino_ci/ci_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def aux_libraries_for_unittest
231231
# @param paths [Array<String>] the initial set of test files
232232
# @return [Array<String>] files that match the select/reject criteria
233233
def allowable_unittest_files(paths)
234-
return if @unittest_info[:testfiles].nil?
234+
return paths if @unittest_info[:testfiles].nil?
235235
ret = paths
236236
unless @unittest_info[:testfiles][:select].nil? || @unittest_info[:testfiles][:select].empty?
237237
ret = ret.select { |p| unittest_info[:testfiles][:select].any? { |glob| File.fnmatch(glob, File.basename(p)) } }

0 commit comments

Comments
 (0)