hoist parfait boot out of the machine boot
This commit is contained in:
@ -3,6 +3,7 @@ require_relative "helper"
|
||||
module Risc
|
||||
class TestCodeListenerFull < MiniTest::Test
|
||||
def setup
|
||||
Parfait.boot!
|
||||
@machine = Risc.machine.boot
|
||||
@binary = Parfait::BinaryCode.new(1)
|
||||
@method = Parfait.object_space.types.values.first.methods
|
||||
|
@ -3,6 +3,7 @@ require_relative "helper"
|
||||
module Risc
|
||||
class TestPositionTranslated < MiniTest::Test
|
||||
def setup
|
||||
Parfait.boot!
|
||||
machine = Risc.machine.boot
|
||||
machine.translate(:interpreter)
|
||||
@binary = Parfait::BinaryCode.new(1)
|
||||
|
@ -3,6 +3,7 @@ require_relative "helper"
|
||||
module Risc
|
||||
class TestMachinePositions < MiniTest::Test
|
||||
def setup_for(platform)
|
||||
Parfait.boot!
|
||||
@machine = Risc.machine.boot
|
||||
@machine.translate(platform)
|
||||
@machine.position_all
|
||||
|
Reference in New Issue
Block a user