Commit f643d15e authored by Daniel Silveira's avatar Daniel Silveira Committed by Luis Murta

Update with sucess message.

Update, typo error
Update, no longer kill tee
Fixes outdated arm_core_context memory footprint

Error was obfuscated using the arm-none-eabi-gcc due to the packaging of
3 4bit enums into a single word. workspace alloc was overflowing when
4bit values were (also correct) stored as 32bit.
parent a83ebb09
......@@ -23,7 +23,7 @@ class ARMConfiguration(object):
CPU_CORE_CONTROL = [ 0x8, 0x24]
CPU_CORE_CONTEXT = [ 0x8, 0x90]
CPU_CORE_CONTEXT = [ 0x8, 0x98]
CPU_CORE_CONTEXT_STACK = [ 0x8, 0x240] # 8x isf (0x48 each)
CPU_CORE_CONTEXT_FPU = [ 0x8, 0x108]
CPU_CORE_CONTEXT_HM = [ 0x8, 0x10]
sleep 5
killall qemu-system-arm
killall tee
......@@ -13,6 +13,7 @@ with open("testresult.txt",'r') as f:
text =
# f.close()
print text
error_list = ["FAILURE DETECTED","HM error detected"]
test_ok = True
......@@ -20,6 +21,10 @@ for word in error_list:
for item in text.split("\n"):
if word in item:
test_ok = False
if (word == error_list[0]):
sys.stderr.write("Unit Test Failure\n")
if(test_ok == False):
sys.stderr.write("FAILURE DETECTED")
print ("Test has PASSED with no errors\n")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment