summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/run_sfc_tests.py
diff options
context:
space:
mode:
authorDimitrios Markou <mardim@intracom-telecom.com>2018-03-16 10:09:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-16 10:09:58 +0000
commit9c3b1a031a1467baf97c4b76c94be1f68444ec7a (patch)
treeccdef05344ff4c6a3024207efad575f05d98e788 /sfc/tests/functest/run_sfc_tests.py
parent83f6c393d31ed6bb0105380c8c158f4a724189ce (diff)
parentaadbd3d5d927906af38d09bbdbcb480c3a526b23 (diff)
Merge "Allow executing tests from run_sfc_tests"
Diffstat (limited to 'sfc/tests/functest/run_sfc_tests.py')
-rw-r--r--sfc/tests/functest/run_sfc_tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sfc/tests/functest/run_sfc_tests.py b/sfc/tests/functest/run_sfc_tests.py
index a22d5fb2..a9aba67f 100644
--- a/sfc/tests/functest/run_sfc_tests.py
+++ b/sfc/tests/functest/run_sfc_tests.py
@@ -12,6 +12,7 @@ import importlib
import os
import time
import yaml
+import sys
from xtesting.core import testcase
from opnfv.utils import ovs_logger as ovs_log
@@ -184,3 +185,8 @@ class SfcFunctest(testcase.TestCase):
return testcase.TestCase.EX_OK
return testcase.TestCase.EX_RUN_ERROR
+
+def main():
+ logging.basicConfig(level=logging.INFO)
+ SFC = SfcFunctest()
+ sys.exit(SFC.run())