[#2212] Skip autobahntestsuite when using -DskipTests
This commit is contained in:
parent
39bc0df9c5
commit
d8d2eb3264
@ -71,12 +71,8 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</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>
|
<properties>
|
||||||
<enabledCase>*</enabledCase>
|
<skipAutobahnTestsuite>false</skipAutobahnTestsuite>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
@ -88,18 +84,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<enabledCase>1.1.1</enabledCase>
|
<skipAutobahnTestsuite>true</skipAutobahnTestsuite>
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
|
||||||
<id>skipAutobahnTestsuite</id>
|
|
||||||
<activation>
|
|
||||||
<property>
|
|
||||||
<name>skipAutobahnTestsuite</name>
|
|
||||||
</property>
|
|
||||||
</activation>
|
|
||||||
<properties>
|
|
||||||
<enabledCase>1.1.1</enabledCase>
|
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
@ -120,14 +105,15 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
|
<groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
|
||||||
<artifactId>autobahntestsuite-maven-plugin</artifactId>
|
<artifactId>autobahntestsuite-maven-plugin</artifactId>
|
||||||
<version>0.1.1</version>
|
<version>0.1.3</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mainClass>io.netty.testsuite.websockets.autobahn.AutobahnServer</mainClass>
|
<mainClass>io.netty.testsuite.websockets.autobahn.AutobahnServer</mainClass>
|
||||||
<cases>
|
<cases>
|
||||||
<case>${enabledCase}</case>
|
<case>*</case>
|
||||||
</cases>
|
</cases>
|
||||||
<excludeCases/>
|
<excludeCases/>
|
||||||
<failOnNonStrict>false</failOnNonStrict>
|
<failOnNonStrict>false</failOnNonStrict>
|
||||||
|
<skip>${skipAutobahnTestsuite}</skip>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user