aboutsummaryrefslogtreecommitdiff
path: root/support/testing/run-tests
diff options
context:
space:
mode:
authorGravatar Ricardo Martincoski <ricardo.martincoski@gmail.com>2017-10-05 18:42:09 -0300
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-10-06 18:56:49 +0200
commitef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f (patch)
treef1187ecd2a501454fc53e9ae03b89e4480f1d40e /support/testing/run-tests
parent2927f412be6fd52961a2cd9aaed203d57609eef9 (diff)
downloadbuildroot-ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f.tar.gz
buildroot-ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f.tar.bz2
support/testing: fix code style
Fix the trivial warnings from flake8: - remove modules imported but unused; - use 2 lines before class or module level method; - remove blank line at end of file. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support/testing/run-tests')
-rwxr-xr-xsupport/testing/run-tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/testing/run-tests b/support/testing/run-tests
index ae0bd336b5..270e78cff7 100755
--- a/support/testing/run-tests
+++ b/support/testing/run-tests
@@ -7,6 +7,7 @@ import multiprocessing
from infra.basetest import BRTest
+
def main():
parser = argparse.ArgumentParser(description='Run Buildroot tests')
parser.add_argument('testname', nargs='*',
@@ -116,5 +117,6 @@ def main():
nose2.discover(argv=nose2_args)
+
if __name__ == "__main__":
sys.exit(main())