commands =
#install maven and JDK11 on the Gate since they are not there by default
sh -c "which mvn >/dev/null || ./installMavenCentOS.sh"
-#install honeynode 1.2.1 simulators
#patch OLM constant to speed up tests, unnecessary for PCE tests
sh -c "sed -i'_' 's@=.*//#FUNCTESTVAL=@=@g' ../olm/src/main/java/org/opendaylight/transportpce/olm/util/OlmUtils.java"
sh -c 'if [ "$USE_LIGHTY" != "True" ]; then (cd ../; for suffix in 121 221 71; do rm -rf "karaf$suffix"; cp -r karaf "karaf$suffix";done) ; fi'
sh -c 'if [ "$USE_LIGHTY" = "True" ]; then (cd ../lighty && ./build.sh); fi'
[testenv:sims121]
-whitelist_externals = sh
+whitelist_externals = install_honeynode.sh
depends = buildcontroller
# sims profiles does not strictly depends on buildcontroller
# but this dependency avoids race condition in the gate
commands =
- - sh -c "./install_honeynode.sh 1.2.1"
+ ./install_honeynode.sh 1.2.1
[testenv:sims221]
-whitelist_externals = sh
+whitelist_externals = install_honeynode.sh
depends = buildcontroller
commands =
- - sh -c "./install_honeynode.sh 2.2.1"
+ ./install_honeynode.sh 2.2.1
[testenv:sims71]
-whitelist_externals = sh
+whitelist_externals = install_honeynode.sh
depends = buildcontroller
commands =
- - sh -c "./install_honeynode.sh 7.1"
+ ./install_honeynode.sh 7.1
[testenv:testsPCE]
depends = buildcontroller