Clone
Petr Široký
committed
on 03 Apr 17
Run container tests only when container profile is used
The tests in jbpm-remote-ejb-test-suite were executed even if no
container profile w… Show more
Run container tests only when container profile is used

The tests in jbpm-remote-ejb-test-suite were executed even if no

container profile was specified. This makes is hard to disable the

tests for specific containers (like Tomcat8, for which it does not

make sense to run the EJB tests).

With the changes:

 - mvn clean install -> no tests executed; cargo execs disabled

 - mvn clean install -Dcustom-profile -> tests executed, no cargo exec

 - mvn clean install -Dcontainer.profile=tomcat8 -> tests executed on

   the specified container (which is managed by cargo)

Show less

master + 13 more