Commit 2e84587f authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

sw: Renamed flash.py for flashtest.py

parent 8fa136a0
......@@ -39,6 +39,7 @@
# Import system modules
import sys
sys.path.append("lib/")
import time
import os, errno, re, sys, struct
import os.path
......@@ -95,11 +96,17 @@ if __name__ == '__main__':
log.write("Run:1 Begin: test08\n")
inf.write("Run:1 Begin: test08\n")
ret = main(bus, 'test08', inf, log)
if (ret == 0):
log.write("PASS: test08\n")
else:
log.write("FAIL: test08\n")
try:
ret = main(bus, 'test08', inf, log)
if (ret == 0):
log.write("PASS: test08\n")
else:
log.write("FAIL: test08->flashtest.py\n")
except Exception as e:
msg = "FAIL: test08->flashtest.py (%s)" % e
log.write(msg + '\n')
inf.write(msg + '\n')
print msg
log.write("Run:1 End: test08\n")
inf.write("Run:1 End: test08\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