small fixes to get all the tests to pass/run
This commit is contained in:
@ -37,7 +37,7 @@ module Fragments
|
||||
writer = Elf::ObjectWriter.new(@program , Elf::Constants::TARGET_ARM)
|
||||
assembly = writer.text
|
||||
# use this for getting the bytes to compare to :
|
||||
puts assembly
|
||||
#puts assembly
|
||||
writer.save("#{name}.o")
|
||||
assembly.text.bytes.each_with_index do |byte , index|
|
||||
is = @should[index]
|
||||
|
@ -4,5 +4,5 @@ require_relative "test_functions"
|
||||
require_relative "test_hello"
|
||||
require_relative "test_if"
|
||||
require_relative "test_putint"
|
||||
#require_relative "test_recursive_fibo"
|
||||
require_relative "test_while"
|
||||
require_relative "test_recursive_fibo"
|
||||
require_relative "test_while_fibo"
|
||||
|
Reference in New Issue
Block a user