Bug correction in topoPortMapping tests
[transportpce.git] / tests / tox.ini
index 702fe936092559d66931637e6008f31ea28ba470..de53fcdfe54ec411baa5b808eb56e16d217a9ba5 100644 (file)
@@ -3,11 +3,20 @@ envlist = py27
 
 [testenv]
 usedevelop = True
+basepython = python2.7
 deps =
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
 whitelist_externals = bash
 commands =
-  bash -c "(cd .. && mvn clean install -DskipTests -Dmaven.javadoc.skip=true)"
-  ./build.sh
-  nosetests --with-xunit transportpce_tests
+  {py27,portmapping,topoPortMapping,rspn,topology,pce}: bash -c "(cd .. && mvn clean install -DskipTests -Dmaven.javadoc.skip=true)"
+  {py27,topology,topoPortMapping}: ./buildTesttool.sh
+  {py27,portmapping,rspn}: ./buildHoneynode.sh
+  #py27: nosetests --with-xunit transportpce_tests/
+  {py27,portmapping}: nosetests --with-xunit transportpce_tests/test_portmapping.py
+  {py27,topoPortMapping}: nosetests --with-xunit transportpce_tests/test_topoPortMapping.py
+  {py27,topology}: nosetests --with-xunit transportpce_tests/test_topology.py
+  {py27,rspn}: nosetests --with-xunit transportpce_tests/test_renderer_service_path_nominal.py
+  {py27,pce}: nosetests --with-xunit transportpce_tests/test_pce.py
+  {py27,servicehandler}: ./SH_func_tests.sh
+  {py27,servicehandler}: nosetests --with-xunit transportpce_tests/test_servicehandler.py