blob: 7a538a79fa7515f7ec17dad8d90b3b8523c286a1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2018 Obeo
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
Obeo - Initial API and implementation
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.sirius</groupId>
<artifactId>sirius-parent</artifactId>
<version>7.0.0-SNAPSHOT</version>
<relativePath>../../packaging/org.eclipse.sirius.parent</relativePath>
</parent>
<properties>
<sonar.coverage.exclusions>src/**/*</sonar.coverage.exclusions>
</properties>
<artifactId>org.eclipse.sirius.tests.junit.xtext</artifactId>
<packaging>eclipse-test-plugin</packaging>
<version>7.0.0-SNAPSHOT</version>
<profiles>
<profile>
<id>unreliable-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<!-- There is currently no unreliable tests in this plug-in, so the tests are deactivated for unreliable-tests profile.
This is to avoid an error of kind
"Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.0.0:test (default-test)
on project org.eclipse.sirius.tests.junit.xtext: No tests found."-->
<tests.junit.skip>true</tests.junit.skip>
</properties>
</profile>
<profile>
<id>long-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<!-- There is currently no long tests in this plug-in, so the tests are deactivated for long-tests profile.
This is to avoid an error of kind
"Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.0.0:test (default-test)
on project org.eclipse.sirius.tests.junit.xtext: No tests found."-->
<tests.junit.skip>true</tests.junit.skip>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependencies>
<dependency>
<type>eclipse-feature</type>
<artifactId>org.eclipse.e4.rcp</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
<systemProperties>
<org.eclipse.sirius.tests.skipLongTests>${tests.skipLongTests}</org.eclipse.sirius.tests.skipLongTests>
<org.eclipse.sirius.tests.skipUnreliableTests>${tests.skipUnreliableTests}</org.eclipse.sirius.tests.skipUnreliableTests>
<createLocalRepresentationInSeparateResource>${createLocalRepresentationInSeparateResource}</createLocalRepresentationInSeparateResource>
</systemProperties>
<skipTests>${tests.junit.skip}</skipTests>
<includes>
<include>${tests.junit.include}</include>
</includes>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
<argLine>${tests.vmargs}</argLine>
<testFailureIgnore>${tests.ignoreFailures}</testFailureIgnore>
<forkedProcessTimeoutInSeconds>${tests.timeout}</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
</plugins>
</build>
</project>