lib/tork/driver.rb in tork-18.1.0 vs lib/tork/driver.rb in tork-18.2.0
- old
+ new
@@ -42,10 +42,15 @@
@herald.quit
super
end
def run_all_test_files
- run_test_files Dir[*Config.all_test_file_globs]
+ all_test_files = Dir[*Config.all_test_file_globs]
+ if all_test_files.empty?
+ warn "#{$0}: There are no test files to run."
+ else
+ run_test_files all_test_files
+ end
end
def reabsorb_overhead_files
reabsorb_overhead Config.overhead_load_paths, Dir[*Config.overhead_file_globs]
end