diff options
author | Hector Fernandez <hector@iatec.biz> | 2020-03-13 12:36:14 +0100 |
---|---|---|
committer | Hector Fernandez <hector@iatec.biz> | 2020-03-19 21:31:03 +0100 |
commit | 71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45 (patch) | |
tree | beac8d6a6f79a1570295cc6abfad0dd15f112029 /test-cli/test | |
parent | e74e0a36d9ad6a01c04500f3a24cb0ef5dd0b283 (diff) | |
download | board-71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45.zip board-71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45.tar.gz board-71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45.tar.bz2 |
SOPA0000 test: Saved the variable data used during the eeprom and nand flashing.
Diffstat (limited to 'test-cli/test')
-rw-r--r-- | test-cli/test/helpers/testsrv_db.py | 4 | ||||
-rw-r--r-- | test-cli/test/tests/qnand.py | 2 | ||||
-rw-r--r-- | test-cli/test/tests/qram.py | 2 |
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") |