Fixed build bug in ./ant-bridge.sh unittest -Dsingle=..., due to external-example.

pipeline.run property no longer required to be passed by test executor.
This commit is contained in:
Khalid Shakir 2014-02-15 13:52:20 +08:00
parent 688792c5b0
commit a505db79f5
3 changed files with 8 additions and 7 deletions

View File

@ -185,12 +185,14 @@
<configuration>
<!-- See explicit executions below -->
<skip>true</skip>
<failIfNoTests>false</failIfNoTests>
<!-- Pass various system properties -->
<systemPropertyVariables>
<!-- TODO: Fix BaseTest to not error out if this property is missing. -->
<pipeline.run>false</pipeline.run>
<java.io.tmpdir>${java.io.tmpdir}</java.io.tmpdir>
</systemPropertyVariables>
</configuration>
<executions>
<!-- Disable maven default execution -->
<execution>
<id>default-test</id>
<phase>none</phase>
@ -218,9 +220,10 @@
<configuration>
<!-- See explicit executions below -->
<skip>true</skip>
<failIfNoTests>false</failIfNoTests>
<!-- Pass various system properties -->
<systemPropertyVariables>
<!-- TODO: Fix BaseTest to not error out if this property is missing. -->
<pipeline.run>false</pipeline.run>
<java.io.tmpdir>${java.io.tmpdir}</java.io.tmpdir>
</systemPropertyVariables>
</configuration>
<executions>

View File

@ -135,7 +135,7 @@ public abstract class BaseTest {
public final static String NA12878_PCRFREE = privateTestDir + "PCRFree.2x250.Illumina.20_10_11.bam";
public final static String NA12878_WEx = privateTestDir + "CEUTrio.HiSeq.WEx.b37_decoy.NA12878.20_10_11mb.bam";
public static final boolean pipelineTestRunModeIsSet = System.getProperty("pipeline.run").equals("run");
public static final boolean pipelineTestRunModeIsSet = System.getProperty("pipeline.run", "").equals("run");
/** before the class starts up */
static {

View File

@ -359,8 +359,6 @@
<systemPropertyVariables>
<clover.pertest.coverage>diff</clover.pertest.coverage>
<java.awt.headless>true</java.awt.headless>
<!-- TODO: Fix BaseTest to not error out if this property is missing. -->
<pipeline.run>${sting.pipelinetests.run}</pipeline.run>
<java.io.tmpdir>${java.io.tmpdir}</java.io.tmpdir>
</systemPropertyVariables>
</configuration>