hoist parfait boot out of the machine boot

This commit is contained in:
Torsten Ruger
2018-06-30 00:39:23 +03:00
parent 8d7a2fe4d6
commit 46d8f5002f
35 changed files with 62 additions and 33 deletions

View File

@ -4,6 +4,7 @@ module Risc
class TestCodeBuilder < MiniTest::Test
def setup
Parfait.boot!
Risc.machine.boot
init = Parfait.object_space.get_init
@builder = Risc::RiscCompiler.new( init ).code_builder(init)
@ -100,6 +101,7 @@ module Risc
class TestCompilerBuilder < MiniTest::Test
def setup
Parfait.boot!
Risc.machine.boot
@init = Parfait.object_space.get_init
@builder = Risc::RiscCompiler.new( @init ).compiler_builder(@init)