File: ruby-tests.rb

package info (click to toggle)
ruby-charlock-holmes 0.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 108 kB
  • sloc: ansic: 311; ruby: 106; cpp: 101; sh: 21; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (62)
1
2
3
4
5
6
7
8
9
10
11
12
13
# FIXME
# there's a spec/ or a test/ directory in the upstream source, but
# no test suite was defined in the Gem specification. It would be
# a good idea to define it here so the package gets tested at build time.
# Examples:
# $: << 'lib' << '.'
# Dir['{spec,test}/**/*.rb'].each { |f| require f }
#
# require 'test/ts_foo.rb'
#
# require 'rbconfig'
# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
# exec("#{ruby} -I. test/runtests.rb")