Skip to content

Commit d247410

Browse files
tulinkryVladimir Kotal
authored andcommitted
Skipping python tests when -DskipTests=true
fixes #2392
1 parent aa2aace commit d247410

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

opengrok-tools/pom.xml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,30 +94,17 @@ Portions Copyright (c) 2017-2018, Chris Fraire <[email protected]>.
9494
</configuration>
9595
<phase>package</phase>
9696
</execution>
97-
<execution>
98-
<id>pre-python-test</id>
99-
<configuration>
100-
<executable>env/bin/python</executable>
101-
<workingDirectory>${project.build.directory}/../</workingDirectory>
102-
<arguments>
103-
<argument>setup.py</argument>
104-
<argument>install</argument>
105-
</arguments>
106-
</configuration>
107-
<phase>test</phase>
108-
<goals>
109-
<goal>exec</goal>
110-
</goals>
111-
</execution>
11297
<execution>
11398
<id>python-test</id>
11499
<configuration>
115100
<executable>env/bin/python</executable>
116101
<workingDirectory>${project.build.directory}/../</workingDirectory>
117102
<arguments>
118103
<argument>setup.py</argument>
104+
<argument>install</argument>
119105
<argument>test</argument>
120106
</arguments>
107+
<skip>${skipTests}</skip>
121108
</configuration>
122109
<phase>test</phase>
123110
<goals>

0 commit comments

Comments
 (0)