-#the last dependency is to avoid temporarily concurrent ressources problem to fix in parallel mode
-commands =
- nosetests --with-xunit transportpce_tests/1.2.1/test_portmapping.py
- nosetests --with-xunit transportpce_tests/1.2.1/test_topo_portmapping.py
- nosetests --with-xunit transportpce_tests/1.2.1/test_topology.py
- nosetests --with-xunit transportpce_tests/1.2.1/test_renderer_service_path_nominal.py
- nosetests --with-xunit transportpce_tests/1.2.1/test_olm.py
- nosetests --with-xunit transportpce_tests/1.2.1/test_end2end.py
+# testsPCE dependency is only here to chain tests in the gate and avoid resources starvation
+whitelist_externals = launch_tests.sh
+passenv = LAUNCHER USE_LIGHTY
+setenv =
+ USE_LIGHTY=True
+ USE_ODL_ALT_WEBSOCKET_PORT=8186
+ USE_ODL_ALT_AKKA_PORT=2551
+ USE_ODL_ALT_AKKA_MGT_PORT=8559
+ USE_ODL_ALT_SHELL_PORT=8102
+ USE_ODL_ALT_RMI_REGISTRY_PORT=1100
+ USE_ODL_ALT_RMI_SERVER_PORT=44445
+ USE_ODL_ALT_RESTCONF_PORT=8182
+ USE_ODL_ALT_KARAF_INSTALL_DIR=karaf121
+commands =
+ ./launch_tests.sh 1.2.1 {posargs:}
+# By default, all tests in the folder transportpce_tests/1.2.1/ are run.
+# Though, a restricted list of tests can be passed as argument to 'tox -e tests121'.
+# For example, 'tox -e tests121 portmapping' will run only the portmapping test.
+# and 'tox -e tests121 "portmapping pce"' will run the portmapping and pce tests.
+# Additionnally, a different launcher command than 'nosetests --with-xunit' can be
+# used by exporting the variable LAUNCHER. For example 'export LAUNCHER="python3"'
+# which is more verbose than nose or 'export LAUNCHER="ls -l"' to only list script
+# files attributes.