diff options
author | Manel Caro <mcaro@iseebcn.com> | 2019-03-09 21:29:27 +0100 |
---|---|---|
committer | Manel Caro <mcaro@iseebcn.com> | 2019-03-09 21:29:27 +0100 |
commit | e4366bb1f2dc3a43a1289f6f76967f1005278954 (patch) | |
tree | 4f07744ecfb6c6a60e29e35ca17d93b52f8b5d45 /scripts/PYTHON_SOFTWARE/test/tests/qram.py | |
parent | 9332c933fc05f42882640c9a4e35fab09854af84 (diff) | |
download | board-e4366bb1f2dc3a43a1289f6f76967f1005278954.zip board-e4366bb1f2dc3a43a1289f6f76967f1005278954.tar.gz board-e4366bb1f2dc3a43a1289f6f76967f1005278954.tar.bz2 |
Remove incorrect copy PYTHON_SOFTWARE folder inside scripts directory
Diffstat (limited to 'scripts/PYTHON_SOFTWARE/test/tests/qram.py')
-rw-r--r-- | scripts/PYTHON_SOFTWARE/test/tests/qram.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/PYTHON_SOFTWARE/test/tests/qram.py b/scripts/PYTHON_SOFTWARE/test/tests/qram.py deleted file mode 100644 index 8ec0210..0000000 --- a/scripts/PYTHON_SOFTWARE/test/tests/qram.py +++ /dev/null @@ -1,22 +0,0 @@ -from test.helpers.syscmd import SysCommand -import unittest - -class Qram(unittest.TestCase): - - def __init__(self, testname, testfunc, memSize): - super(Qram, self).__init__(testfunc) - self.__memSize = memSize - self._testMethodDoc = testname - - def execute(self): - str_cmd= "free -m" - free_command = SysCommand("free_ram", str_cmd) - if free_command.execute() == 0: - self.__raw_out = free_command.getOutput() - if self.__raw_out == "": - return -1 - lines = free_command.getOutput().splitlines() - aux = [int(s) for s in lines[1].split() if s.isdigit()] - self.failUnless(int(aux[0])>int(self.__memSize),"failed: total ram memory size lower than expected") - else: - self.fail("failed: could not complete iperf command") |