Skip to content

Commit

Permalink
Exclude CuFileTest unless user specifies -DUSE_GDS=ON (NVIDIA#253)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Lowe <jlowe@nvidia.com>
  • Loading branch information
jlowe authored May 18, 2022
1 parent 48d4f40 commit 344eaf0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,27 @@
</dependencies>

<profiles>
<profile>
<id>no-cufile-tests</id>
<activation>
<property>
<name>USE_GDS</name>
<value>!ON</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/CuFileTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>source-javadoc</id>
<build>
Expand Down

0 comments on commit 344eaf0

Please sign in to comment.