File: run-test.rb

package info (click to toggle)
ruby-hikidoc 0.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 192 kB
  • sloc: ruby: 2,287; makefile: 2
file content (13 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env ruby

require "test/unit"

if Test::Unit.respond_to?(:setup_argv)
  Test::Unit::setup_argv{[File.dirname($0)]}
else
  if Test::Unit::AutoRunner.respond_to?(:standalone?)
    exit Test::Unit::AutoRunner.run($0, File.dirname($0))
  else
    exit Test::Unit::AutoRunner.run(false, File.dirname($0))
  end
end