summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qram.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-07-01 10:45:34 +0200
committerHector Fernandez <hector@iatec.biz>2020-07-01 10:45:34 +0200
commit34df86b37d6838b115e65e5f3a332344afeb86b8 (patch)
tree946e1d7d6d55a4339e453c84c4fbbf4b785a1712 /test-cli/test/tests/qram.py
parent9ac8a326412b04e4873b883c2f2a056ca0b22480 (diff)
downloadboard-34df86b37d6838b115e65e5f3a332344afeb86b8.zip
board-34df86b37d6838b115e65e5f3a332344afeb86b8.tar.gz
board-34df86b37d6838b115e65e5f3a332344afeb86b8.tar.bz2
Changes to adapt to new way to save results in DB. Created audio test. Added protections against unexpected status in DB.
Diffstat (limited to 'test-cli/test/tests/qram.py')
-rw-r--r--test-cli/test/tests/qram.py20
1 files changed, 3 insertions, 17 deletions
diff --git a/test-cli/test/tests/qram.py b/test-cli/test/tests/qram.py
index a46424f..21a01c8 100644
--- a/test-cli/test/tests/qram.py
+++ b/test-cli/test/tests/qram.py
@@ -26,25 +26,11 @@ class Qram(unittest.TestCase):
def execute(self):
try:
p = sh.memtester(self.__memsize, "1", _out="/dev/null")
-
except sh.ErrorReturnCode as e:
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "FAILED: could not complete memtester command",
- "type": "string"
- }
- )
self.fail("failed: could not complete memtester command")
- # Test successful
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "OK",
- "type": "string"
- }
- )
-
def getresults(self):
return self.__resultlist
+
+ def gettextresult(self):
+ return ""