summaryrefslogtreecommitdiff
path: root/test-cli/test
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test')
-rw-r--r--test-cli/test/helpers/testsrv_db.py4
-rw-r--r--test-cli/test/tests/qnand.py2
-rw-r--r--test-cli/test/tests/qram.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/test-cli/test/helpers/testsrv_db.py b/test-cli/test/helpers/testsrv_db.py
index c9372fc..a6a5545 100644
--- a/test-cli/test/helpers/testsrv_db.py
+++ b/test-cli/test/helpers/testsrv_db.py
@@ -137,8 +137,8 @@ class TestSrv_Database(object):
# print(r)
return None
- def create_task_result(self, taskid_ctl, name, newstatus):
- sql = "SELECT isee.f_create_task_result({},'{}','{}')".format(taskid_ctl, name, newstatus)
+ def create_task_result(self, taskid_ctl, name, newstatus, info=None):
+ sql = "SELECT isee.f_create_task_result({},'{}','{}','{}')".format(taskid_ctl, name, newstatus, info)
# print('>>>' + sql)
try:
self.__sqlObject.db_execute_query(sql)
diff --git a/test-cli/test/tests/qnand.py b/test-cli/test/tests/qnand.py
index 5125c1c..10a68f2 100644
--- a/test-cli/test/tests/qnand.py
+++ b/test-cli/test/tests/qnand.py
@@ -18,6 +18,6 @@ class Qnand(unittest.TestCase):
def execute(self):
try:
- sh.nandtest("-m", self.__device)
+ sh.nandtest("-m", self.__device, _out="/dev/null")
except sh.ErrorReturnCode as e:
self.fail("failed: could not complete nandtest command")
diff --git a/test-cli/test/tests/qram.py b/test-cli/test/tests/qram.py
index cc75b68..5a7734a 100644
--- a/test-cli/test/tests/qram.py
+++ b/test-cli/test/tests/qram.py
@@ -23,6 +23,6 @@ class Qram(unittest.TestCase):
def execute(self):
try:
- sh.memtester(self.__memsize, "1")
+ sh.memtester(self.__memsize, "1", _out="/dev/null")
except sh.ErrorReturnCode as e:
self.fail("failed: could not complete memtester command")