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> </plugins>
</pluginManagement> </pluginManagement>
</build> </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> </project>

View File

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