Fix maven detection in tox.ini 90/95490/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Thu, 11 Mar 2021 16:25:29 +0000 (17:25 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 11 Mar 2021 16:29:54 +0000 (16:29 +0000)
which is better indicated than command eventually

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I3398199c15e3d0449f84be5967acd8e1145cc587

tox.ini

diff --git a/tox.ini b/tox.ini
index 8c52932a8c56da18106d6f68bc12354646ba8d9c..aa39abd1f884a8c79006d05da74d8394dec97546 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -19,7 +19,7 @@ whitelist_externals = sh
 changedir={toxinidir}/tests
 commands =
 #install maven and JDK11 on the Gate since they are not there by default
-  {py3,portmapping,topoPortMapping,rspn,topology,pce,olm,end2end,portmapping221,rspn221,otnrenderer,otnshrenderer,topology221,otntopology,flexgrid,olm221,tapi221,otnend2end,end2end221,gnpy}: - sh -c "command mvn >/dev/null || ./installMavenCentOS.sh"
+  {py3,portmapping,topoPortMapping,rspn,topology,pce,olm,end2end,portmapping221,rspn221,otnrenderer,otnshrenderer,topology221,otntopology,flexgrid,olm221,tapi221,otnend2end,end2end221,gnpy}: - sh -c "which mvn >/dev/null || ./installMavenCentOS.sh"
 #install honeynode 1.2.1 simulators
   {py3,portmapping,topoPortMapping,rspn,topology,pce,olm,end2end}: - sh -c "./install_honeynode.sh 1.2.1"
 #patch OLM constant to speed up tests, unnecessary for PCE