Commit 0781ad5b authored by Luis Murta's avatar Luis Murta

Merge branch '55-error-in-pmk-memory-with-arm' into 'dev'

Resolve "Error in PMK memory with ARM"

Closes #55

See merge request AIR/air-dev!19
parents a83ebb09 f643d15e
......@@ -23,7 +23,7 @@ class ARMConfiguration(object):
MAX_CORES = 2
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]
......
#!/bin/bash
sleep 5
killall qemu-system-arm
killall tee
......@@ -13,6 +13,7 @@ with open("testresult.txt",'r') as f:
text = f.read()
# 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")
else:
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