flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trohrm...@apache.org
Subject flink git commit: [FLINK-3496] Fix ML test discovery on Windows
Date Thu, 03 Mar 2016 14:50:18 GMT
Repository: flink
Updated Branches:
  refs/heads/master 7fbfab64f -> b02ee764b


[FLINK-3496] Fix ML test discovery on Windows

This closes #1710.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/b02ee764
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/b02ee764
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/b02ee764

Branch: refs/heads/master
Commit: b02ee764b022683ff3ca1b739bfe8d58a298f103
Parents: 7fbfab6
Author: zentol <s.motsu@web.de>
Authored: Thu Feb 25 16:09:42 2016 +0100
Committer: Till Rohrmann <trohrmann@apache.org>
Committed: Thu Mar 3 15:49:47 2016 +0100

----------------------------------------------------------------------
 flink-libraries/flink-ml/pom.xml | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/b02ee764/flink-libraries/flink-ml/pom.xml
----------------------------------------------------------------------
diff --git a/flink-libraries/flink-ml/pom.xml b/flink-libraries/flink-ml/pom.xml
index 6846ec7..2a26e51 100644
--- a/flink-libraries/flink-ml/pom.xml
+++ b/flink-libraries/flink-ml/pom.xml
@@ -78,6 +78,31 @@
 		</dependency>
 	</dependencies>
 
+	<profiles>
+		<profile>
+			<id>windows</id>
+			<activation>
+				<os>
+					<family>windows</family>
+				</os>
+			</activation>
+			<properties>
+				<suffix.test>"(?&lt;!(IT|Integration))(Test|Suite|Case)"</suffix.test>
+				<suffix.it>"(IT|Integration)(Test|Suite|Case)"</suffix.it>
+			</properties>
+		</profile>
+		<profile>
+			<id>default</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<properties>
+				<suffix.test>(?&lt;!(IT|Integration))(Test|Suite|Case)</suffix.test>
+				<suffix.it>(IT|Integration)(Test|Suite|Case)</suffix.it>
+			</properties>
+		</profile>
+	</profiles>
+
 	<build>
 		<plugins>
 			<plugin>
@@ -117,7 +142,7 @@
 							<goal>test</goal>
 						</goals>
 						<configuration>
-							<suffixes>(?&lt;!(IT|Integration))(Test|Suite|Case)</suffixes>
+							<suffixes>${suffix.test}</suffixes>
 							<argLine>-Xms256m -Xmx800m -Dlog4j.configuration=${log4j.configuration} -Dlog.dir=${log.dir}
-Dmvn.forkNumber=1 -XX:-UseGCOverheadLimit</argLine>
 						</configuration>
 					</execution>
@@ -128,7 +153,7 @@
 							<goal>test</goal>
 						</goals>
 						<configuration>
-							<suffixes>(IT|Integration)(Test|Suite|Case)</suffixes>
+							<suffixes>${suffix.it}</suffixes>
 							<argLine>-Xms256m -Xmx800m -Dlog4j.configuration=${log4j.configuration} -Dlog.dir=${log.dir}
-Dmvn.forkNumber=1 -XX:-UseGCOverheadLimit</argLine>
 						</configuration>
 					</execution>


Mime
View raw message