Sha256: efb5a217e5778d1a8024b8c464ae3e721fb7d4c40ad292b8d7254a2f109dd315

Contents?: true

Size: 556 Bytes

Versions: 5

Compression:

Stored size: 556 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"

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

5 entries across 5 versions & 1 rubygems

Version Path
matest-1.7.1 bin/matest
matest-1.7.0 bin/matest
matest-1.6.9 bin/matest
matest-1.6.6 bin/matest
matest-1.6.5 bin/matest