Sha256: 701e3926840f8eda171317481d34c45820a4e301f6886a3204d75995e3464729

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

#!/usr/bin/env ruby

require "time"
start_time = Time.now

if File.exist?(File.expand_path("./spec/", Dir.pwd))
  $LOAD_PATH.unshift(File.expand_path("./spec/", Dir.pwd))
end

if File.exist?(File.expand_path("./test/", Dir.pwd))
  $LOAD_PATH.unshift(File.expand_path("./test/", Dir.pwd))
end

require "matest"
require "rake"
require "pathname"

pwd = Dir.pwd
runner = Matest::Runner.runner
Rake::FileList[ARGV].each do |file|
  runner.load_file(Pathname(file).expand_path.to_s)
end

runner.execute!

time_elapsed = Time.now - start_time

exit(1) unless runner.info[:success]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
matest-1.7.4 bin/matest
matest-1.7.3 bin/matest
matest-1.7.2 bin/matest