Switch all func tests to lightynode
[transportpce.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index bb844879fe257e3f96f59c849115b9a7ce7ebb28..6a86daa042260b670f0d9ba88b7cb5588dc1de76 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -26,6 +26,7 @@ setupdir = tests/
 [testenv]
 passenv = LAUNCHER
      USE_LIGHTY
+     USE_SIMS
      NO_ODL_STARTUP
      http_proxy
      HTTP_PROXY
@@ -61,25 +62,35 @@ changedir = {toxinidir}/lighty
 commands =
   ./build.sh
 
+[testenv:sims]
+passenv = USE_SIMS
+allowlist_externals = install_lightynode.sh
+depends = buildcontroller
+commands =
+  ./install_lightynode.sh {posargs:}
+
 [testenv:sims121]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
 depends = buildcontroller
 # sims profiles does not strictly depends on buildcontroller
 # but this dependency avoids race condition in the gate
 commands =
-  ./install_honeynode.sh 1.2.1
+  ./install_sims.sh 1.2.1
 
 [testenv:sims221]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
 depends = buildcontroller
 commands =
-  ./install_honeynode.sh 2.2.1
+  ./install_sims.sh 2.2.1
 
 [testenv:sims71]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
 depends = buildcontroller
 commands =
-  ./install_honeynode.sh 7.1
+  ./install_sims.sh 7.1
 
 [testenv:testsPCE]
 depends = buildcontroller
@@ -120,7 +131,7 @@ depends = buildcontroller,build_karaf_tests121,sims121,testsPCE
 allowlist_externals = launch_tests.sh
 passenv = LAUNCHER
     USE_LIGHTY
-    NO_ODL_STARTUP
+    USE_SIMS
     USE_ODL_RESTCONF_VERSION
 setenv =
 #    USE_LIGHTY=True
@@ -173,6 +184,7 @@ depends = buildcontroller,build_karaf_tests221,sims221,tests71
 allowlist_externals = launch_tests.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     USE_ODL_RESTCONF_VERSION
 setenv =
@@ -200,6 +212,7 @@ depends = buildcontroller,build_karaf_tests71,sims71,tests_tapi
 allowlist_externals = launch_tests.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     USE_ODL_RESTCONF_VERSION
 setenv =
@@ -227,6 +240,7 @@ depends = buildcontroller,build_karaf_tests_hybrid,sims121,sims221,sims71,tests1
 allowlist_externals = launch_tests.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     USE_ODL_RESTCONF_VERSION
 setenv =
@@ -240,9 +254,11 @@ commands =
 
 [testenv:tests_tapi]
 depends = buildcontroller,build_karaf_tests221,sims221
-allowlist_externals = launch_tests.sh add_tapi_feature_to_tests221.sh
+allowlist_externals = launch_tests.sh
+#                      add_tapi_feature_to_tests221.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     OLM_TIMER1
     OLM_TIMER2
@@ -262,10 +278,10 @@ commands =
 
 [testenv:with_docker]
 depends = buildcontroller,sims221
-allowlist_externals = launch_tests.sh
-                      dockercmd.sh
+allowlist_externals = launch_tests.sh dockercmd.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     USE_ODL_RESTCONF_VERSION
 #    OLM_TIMER1