class Autotest

def run_tests

def run_tests
  new_mtime = self.find_files_to_test
  return unless new_mtime
  self.last_mtime = new_mtime
  cmd = self.make_test_cmd self.files_to_test
  return if cmd.empty?
  hook :run_command, cmd
  puts cmd unless options[:quiet]
  system cmd
  hook :ran_command
end