Skip to main content
summaryrefslogblamecommitdiffstats
blob: de46df1d7fea95e665173d386d86e4b9cf5bea13 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                          
                                                 















                                                                                                                        
                    
                                                                                          
                                                                
                     
        

                         
                                



























                                                                                                                         




                                                                              
                                                                          
                                                                                                                                             
                                                  
                                                                                     









                                                                                                                   
                                                                                                  







                                                                                        
<?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>

	<parent>
		<groupId>org.eclipse.cdt</groupId>
		<artifactId>cdt-parent</artifactId>
		<version>8.4.0-SNAPSHOT</version>
		<relativePath>../../pom.xml</relativePath>
	</parent>

	<version>2.2.0-SNAPSHOT</version>
	<artifactId>org.eclipse.cdt.tests.dsf.gdb</artifactId>
	<packaging>eclipse-test-plugin</packaging>
	
	<!-- Uncommenting this is useful when the repo is built first then you want to run tests on this plugin only -->
	<!-- <repositories>
		<repository>
			<id>cdt.repo</id>
			<url>file:/${basedir}/../../releng/org.eclipse.cdt.repo/target/repository</url>
			<layout>p2</layout>
		</repository>
	</repositories>-->

	<properties>
		<gdbPathOption>-Dcdt.tests.dsf.gdb.path=/shared/common/gdb</gdbPathOption>
		<gdbTestSuite>AutomatedSuite.java</gdbTestSuite>
	</properties>
	
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<id>clean</id>
						<phase>clean</phase>
						<configuration>
							<tasks>
								<ant antfile="TestAppBuilder.xml" target="clean"/>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
					<execution>
						<id>prepare</id>
						<phase>validate</phase>
						<configuration>
							<tasks>
								<ant antfile="TestAppBuilder.xml" target="makeTestApps"/>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-surefire-plugin</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<useUIHarness>false</useUIHarness>
					<argLine>${base.ui.test.vmargs} -ea -Xms256m -Xmx512m -XX:MaxPermSize=256M ${gdbPathOption}</argLine>
					<includes>
						<include>**/${gdbTestSuite}</include>
					</includes>
					<testFailureIgnore>true</testFailureIgnore>
					<dependencies>
						<dependency>
							<artifactId>org.eclipse.platform.feature.group</artifactId>
							<version>3.7.0</version>
							<type>p2-installable-unit</type>
						</dependency>
						<dependency>
							<artifactId>org.eclipse.cdt.feature.group</artifactId>
							<version>8.2.0.${buildQualifier}</version>
							<type>p2-installable-unit</type>
						</dependency>
					</dependencies>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>

Back to the top