mirror of https://github.com/ARMmbed/mbed-os.git
Small fixes based on github comments
parent
60911876cd
commit
3b3bed2406
|
@ -19,7 +19,7 @@ from icetea_lib.bench import Bench
|
|||
class Testcase(Bench):
|
||||
def __init__(self):
|
||||
self.device = None
|
||||
Bench.__init__(self,
|
||||
super(Testcase, self).__init__(self,
|
||||
name="test_cmdline",
|
||||
title="Smoke test for command line interface",
|
||||
status="released",
|
||||
|
|
|
@ -25,7 +25,7 @@ class MultipleTestcase(Bench):
|
|||
}
|
||||
|
||||
testcase_args.update(kwargs)
|
||||
Bench.__init__(self, **testcase_args)
|
||||
super(MultipleTestcase, self).__init__(self, **testcase_args)
|
||||
|
||||
def setup(self):
|
||||
self.command("dut1", "ifup")
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
#
|
||||
from icetea_lib.bench import Bench
|
||||
from interface import interfaceUp, interfaceDown
|
||||
from icetea_lib.tools import test_case
|
||||
import threading
|
||||
import time
|
||||
|
||||
|
||||
class Testcase(Bench):
|
||||
def __init__(self):
|
||||
Bench.__init__(self,
|
||||
super(Testcase, self).__init__(self,
|
||||
name="TCPSERVER_ACCEPT",
|
||||
title = "TCPSERVER_ACCEPT",
|
||||
purpose = "Test that TCPServer::bind(), TCPServer::listen() and TCPServer::accept() works",
|
||||
|
|
|
@ -2,14 +2,13 @@
|
|||
# Copyright (c) 2018, Arm Limited and affiliates.
|
||||
#
|
||||
from icetea_lib.bench import Bench, TestStepFail
|
||||
from icetea_lib.tools import test_case
|
||||
import random
|
||||
import string
|
||||
|
||||
|
||||
class Testcase(Bench):
|
||||
def __init__(self):
|
||||
Bench.__init__(self,
|
||||
super(Testcase, self).__init__(self,
|
||||
name="TCPSOCKET_ECHOTEST_BURST_SHORT",
|
||||
title="TCPSOCKET_ECHOTEST_BURST_SHORT",
|
||||
purpose="Verify that TCPSocket can send burst of packets to echo server and read incoming packets",
|
||||
|
|
|
@ -6,7 +6,7 @@ IntelHex>=1.3
|
|||
junit-xml
|
||||
pyYAML
|
||||
requests
|
||||
mbed-ls>=0.2.13,<2.0
|
||||
mbed-ls>=1.4.2,==1.*
|
||||
mbed-host-tests>=1.1.2
|
||||
mbed-greentea>=0.2.24
|
||||
beautifulsoup4>=4
|
||||
|
|
|
@ -21,7 +21,6 @@ TEST BUILD
|
|||
from __future__ import print_function, division, absolute_import
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
import fnmatch
|
||||
|
||||
ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
||||
|
|
|
@ -28,7 +28,6 @@ import pprint
|
|||
import random
|
||||
import argparse
|
||||
import datetime
|
||||
import errno
|
||||
import threading
|
||||
import ctypes
|
||||
import functools
|
||||
|
|
|
@ -1117,4 +1117,4 @@ TOOLCHAIN_CLASSES = {
|
|||
u'IAR': IAR
|
||||
}
|
||||
|
||||
TOOLCHAINS = set(TOOLCHAIN_CLASSES.keys())
|
||||
TOOLCHAINS = set(TOOLCHAIN_CLASSES.keys())
|
||||
|
|
Loading…
Reference in New Issue