view .svn/pristine/40/40d857531cd6b4668cb1e019211d87ead6d54850.svn-base @ 1628:9c5f8e24dadc live tip

Quieten this cron script
author Chris Cannam
date Tue, 25 Aug 2020 11:38:49 +0100
parents cbb26bc654de
children
line wrap: on
line source
require 'test/unit'

$VERBOSE = $CODERAY_DEBUG = true
$:.unshift File.expand_path('../../../lib', __FILE__)
require 'coderay'

mydir = File.dirname(__FILE__)
suite = Dir[File.join(mydir, '*.rb')].
  map { |tc| File.basename(tc).sub(/\.rb$/, '') } - %w'suite for_redcloth'

puts "Running basic CodeRay #{CodeRay::VERSION} tests: #{suite.join(', ')}"

for test_case in suite
  load File.join(mydir, test_case + '.rb')
end