File: ruby-tests.rb

package info (click to toggle)
ruby-heckle 1.4.3-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 240 kB
  • sloc: ruby: 1,486; sh: 45; makefile: 11
file content (9 lines) | stat: -rw-r--r-- 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
require 'rbconfig'
ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])

# instead of using Inline's regular directory in the user's home, use
# a temporary directory
require 'tmpdir'
ENV['INLINEDIR'] = Dir.mktmpdir

exec "#{ruby} -I. ./test/test_heckle.rb"