From f9287a380f75ddb07035c53705ea224ff2683dfe Mon Sep 17 00:00:00 2001
From: Alexander Diewald <diewald@fortiss.org>
Date: Tue, 12 Feb 2019 09:51:54 +0100
Subject: [PATCH] Tests: Readd profile switch

The final product packaging is done in the verify phase, instead of the
packaging phase to allow the required product patching by ant scripts.
This modification allows to skip the testing phase such that products
can be built even with failing test cases such as machine-specific
failures of local build due to the absence of some utility, e.g. gcc.

Issue-Ref: 3620
Issue-Url: https://af3-developer.fortiss.org/issues/3620
Signed-off-by: Alexander Diewald <diewald@fortiss.org>
---
 tests/pom.xml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/tests/pom.xml b/tests/pom.xml
index 0056e0d..ab6e963 100644
--- a/tests/pom.xml
+++ b/tests/pom.xml
@@ -14,12 +14,19 @@
     <version>1.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
-  
-  <modules>
-    <module>af3</module>
-  </modules>
 
   <profiles>
+    <profile>
+      <id>run-tests</id>
+      <activation>
+        <property>
+          <name>build.tests</name>
+        </property>
+      </activation>
+      <modules>
+        <module>af3</module>
+      </modules>
+    </profile>
     <profile>
       <id>af3-p2-local</id>
       <activation>
-- 
GitLab