Enable/Disable sctp tests based on the detected OS

This commit is contained in:
Norman Maurer 2012-03-30 21:35:58 +02:00
parent c02d38a728
commit 8e9058e921
2 changed files with 28 additions and 5 deletions

27
pom.xml
View File

@ -335,5 +335,32 @@
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>unix</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<properties>
<!--
Note: Java SCTP only available for Linux and Solaris
-->
<sctp.test.skip>false</sctp.test.skip>
</properties>
</profile>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<sctp.test.skip>true</sctp.test.skip>
</properties>
</profile>
</profiles>
</project>

View File

@ -55,11 +55,7 @@
<execution>
<id>default-test</id>
<configuration>
<!--
Ignore SCTP Test cases by default
Note: Java SCTP only available for Linux and Solaris
-->
<skipTests>true</skipTests>
<skipTests>${sctp.test.skip}}</skipTests>
</configuration>
</execution>
</executions>