[#2212] Skip autobahntestsuite when using -DskipTests
This commit is contained in:
parent
39bc0df9c5
commit
d8d2eb3264
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user