aboutsummaryrefslogtreecommitdiff
path: root/support/testing/run-tests
diff options
context:
space:
mode:
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())