[#2212] Skip autobahntestsuite when using -DskipTests

This commit is contained in:
Norman Maurer 2014-02-08 19:00:59 +01:00
parent 50b862349c
commit c93337b01a

View File

@ -71,12 +71,8 @@
</dependency>
</dependencies>
<!--
autobahntestsuite-maven-plugin lacks an option to skip the testsuite,
so we run the least possible number of tests when skipTests or skipAutobahnTestsuite is set.
-->
<properties>
<enabledCase>*</enabledCase>
<skipAutobahnTestsuite>false</skipAutobahnTestsuite>
</properties>
<profiles>
@ -88,18 +84,7 @@
</property>
</activation>
<properties>
<enabledCase>1.1.1</enabledCase>
</properties>
</profile>
<profile>
<id>skipAutobahnTestsuite</id>
<activation>
<property>
<name>skipAutobahnTestsuite</name>
</property>
</activation>
<properties>
<enabledCase>1.1.1</enabledCase>
<skipAutobahnTestsuite>true</skipAutobahnTestsuite>
</properties>
</profile>
</profiles>
@ -120,14 +105,15 @@
<plugin>
<groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
<artifactId>autobahntestsuite-maven-plugin</artifactId>
<version>0.1.1</version>
<version>0.1.3</version>
<configuration>
<mainClass>io.netty.testsuite.websockets.autobahn.AutobahnServer</mainClass>
<cases>
<case>${enabledCase}</case>
<case>*</case>
</cases>
<excludeCases/>
<failOnNonStrict>false</failOnNonStrict>
<skip>${skipAutobahnTestsuite}</skip>
</configuration>
<executions>
<execution>