aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-08-02 11:34:06 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-08-02 11:39:51 +0200
commit221fd4cfd7f86e110b3536066ede2910191dfc1e (patch)
treec0fb82aa1bbe61f4f0ef617b125d97454e4df1e8
parentdbc4c0600620d62cc20a80c3402fe701b5091d72 (diff)
Install run_sfc_tests.py in $PATH
It eases how Functest runs it (see testcases.yaml [1]). The former run_tests.py is renamed to avoid duplicated binaries (see [2] and [3]). [1] https://git.opnfv.org/functest/tree/functest/ci/testcases.yaml [2] https://git.opnfv.org/sdnvpn/tree/sdnvpn/test/functest/run_tests.py [3] https://git.opnfv.org/promise/tree/promise/test/functest/run_tests.py Change-Id: I75aaf950f7b072c142fa9894cef7ef7f057adac3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--setup.cfg2
-rw-r--r--sfc/tests/functest/run_sfc_tests.py (renamed from sfc/tests/functest/run_tests.py)0
2 files changed, 2 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index edeeb5de..8e5f6230 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,3 +5,5 @@ home-page = https://wiki.opnfv.org/display/sfc/Service+Function+Chaining+Home
[files]
packages = sfc
+scripts =
+ sfc/tests/functest/run_sfc_tests.py
diff --git a/sfc/tests/functest/run_tests.py b/sfc/tests/functest/run_sfc_tests.py
index c569165b..c569165b 100644
--- a/sfc/tests/functest/run_tests.py
+++ b/sfc/tests/functest/run_sfc_tests.py