cleanup, requires, namespacing to actually get it to work

This commit is contained in:
Torsten Ruger
2014-04-14 21:52:16 +03:00
parent 5ad36bbd56
commit 2e6b90b12e
16 changed files with 379 additions and 299 deletions

View File

@@ -1,6 +1,6 @@
if (__FILE__ == $0)
gen = Asm::ARMCodeGenerator.new
gen = Asm::ArmCodeGenerator.new
gen.instance_eval {
mov r0, 5

View File

@@ -8,7 +8,7 @@ end
SimpleCov.configure do
clean_filters
load_adapter 'test_frameworks'
load_profile 'test_frameworks'
end
ENV["COVERAGE"] && SimpleCov.start do
@@ -23,13 +23,9 @@ rescue Bundler::BundlerError => e
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'minitest/unit'
require "minitest/autorun"
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'test'))
require 'crystal'
class MiniTest::Unit::TestCase
end
MiniTest::Unit.autorun