Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-user Digest, Vol 4, Issue 2

Hi Gabriel, 

The build will fail if there are test failures OR if no tests are found. 
You need at least one test in your project.

-- 
Nicolas





Le 9 déc. 2010 à 18:00, tycho-user-request@xxxxxxxxxxx a écrit :

Date: Wed, 8 Dec 2010 19:35:46 +0100
From: Gabriel Petrovay <gabipetrovay@xxxxxxxxx>
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Failed to execute goal
org.sonatype.tycho:maven-osgi-test-plugin:0.9.0:test (default-test):
There are test failures.
Message-ID:
<AANLkTin6=Gxp3BQ58_5YF6xo55HU43sOmfBNjA+YtKCf@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Why does this happen? There are no tests failing. (See the end of the
build output: https://hudson.eclipse.org/hudson/view/WTP/job/cbi-wtp-inc-xquery-conformance/12/console
)


The configuration of the failing plug-in is:
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<modelVersion>4.0.0</modelVersion>
<artifactId>org.eclipse.wst.xquery.zorba.conformance.tests</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<name>Zorba Conformance Test Plug-in</name>

<parent>
<groupId>org.eclipse.wst.xquery</groupId>
<artifactId>org.eclipse.wst.xquery.conformance.tests</artifactId>
<version>0.8.0-SNAPSHOT</version>
<relativePath>../org.eclipse.wst.xquery.conformance.tests/pom.xml</relativePath>
</parent>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-test-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<testSuite>org.eclipse.wst.xquery.zorba.conformance.tests</testSuite>
<testClass>org.eclipse.wst.xquery.zorba.conformance.tests.ZorbaConformanceTestSuite</testClass>
</configuration>
</plugin>
</plugins>
</build>
</project>


--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com




Back to the top