2016-11-21 16:04:39 +00:00
|
|
|
#!/bin/bash -e
|
2016-11-11 10:52:49 +00:00
|
|
|
|
|
|
|
if [ $1 == "old" ]; then
|
|
|
|
mvn test -B -f testsuite/integration
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $1 == "group1" ]; then
|
2016-12-02 20:56:40 +00:00
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.ad*.**.*Test
|
2016-11-29 16:26:11 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $1 == "group2" ]; then
|
2016-12-02 20:56:40 +00:00
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.ac*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.b*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.cli*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.com*.**.*Test
|
2016-11-11 10:52:49 +00:00
|
|
|
fi
|
|
|
|
|
2016-11-29 16:26:11 +00:00
|
|
|
if [ $1 == "group3" ]; then
|
2016-12-02 20:56:40 +00:00
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.d*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.e*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.f*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.i*.**.*Test
|
2016-11-11 10:52:49 +00:00
|
|
|
fi
|
|
|
|
|
2016-11-29 16:26:11 +00:00
|
|
|
if [ $1 == "group4" ]; then
|
2016-12-02 20:56:40 +00:00
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.k*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.m*.**.*Test
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.testsuite.o*.**.*Test
|
2016-11-11 10:52:49 +00:00
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/base -Dtest=org.keycloak.*Test
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $1 == "adapter" ]; then
|
|
|
|
mvn test -B -f testsuite/integration-arquillian/tests/other/adapters
|
2016-12-12 15:36:33 +00:00
|
|
|
mvn test -B -f testsuite/jetty
|
|
|
|
mvn test -B -f testsuite/tomcat6
|
|
|
|
mvn test -B -f testsuite/tomcat7
|
|
|
|
mvn test -B -f testsuite/tomcat8
|
2016-11-11 10:52:49 +00:00
|
|
|
fi
|
|
|
|
|