From dde6a4893dd1c3d1bc040d58db6fd4cec012c74c Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 4 Nov 2013 18:10:05 +0200 Subject: [PATCH] Output test results in XML reports instead of to standard output This is a workaround for a problem with the integrated TeamCity JUnit listener which is not thread safe. Without this the test results are completely mixed up in TeamCity. For more information, see http://youtrack.jetbrains.com/issue/TW-33176. All standard JUnit test reports is put in result/reports. For uitest there are three report directories: result/reports-tb2, result/reports-tb3 and result/reports-integration to be able to clean the directories before running a given type of tests. This change is based on the separate fixes by John. Change-Id: I2f0dee416f6745544636f2f3dcea0d0832ff8076 --- common.xml | 17 +++++++++++++---- uitest/build.xml | 2 -- uitest/integration_tests.xml | 20 ++++++++++++++++---- uitest/tb3test.xml | 10 +++++++--- uitest/test.xml | 15 +++++++++++---- 5 files changed, 47 insertions(+), 17 deletions(-) diff --git a/common.xml b/common.xml index 88fbc49196..a1c086c57a 100644 --- a/common.xml +++ b/common.xml @@ -305,16 +305,20 @@ + + + + - - + + - + @@ -363,7 +367,12 @@ - + + + + + + diff --git a/uitest/build.xml b/uitest/build.xml index 76b75e9203..864d111023 100644 --- a/uitest/build.xml +++ b/uitest/build.xml @@ -150,8 +150,6 @@ Checkstyle is disabled for uitest for now - - WHAT? No JUnit tests for ${module.name}! diff --git a/uitest/integration_tests.xml b/uitest/integration_tests.xml index 73aac2405c..9f639b9cb5 100644 --- a/uitest/integration_tests.xml +++ b/uitest/integration_tests.xml @@ -27,6 +27,9 @@ + + + @@ -56,6 +59,7 @@ + @@ -69,6 +73,7 @@ + @@ -87,6 +92,7 @@ + @@ -105,16 +111,19 @@ - - - + + + + + + - + @@ -360,6 +369,9 @@ + + + diff --git a/uitest/tb3test.xml b/uitest/tb3test.xml index dd0c12db91..41cce8f0f2 100644 --- a/uitest/tb3test.xml +++ b/uitest/tb3test.xml @@ -2,6 +2,7 @@ + @@ -19,13 +20,16 @@ - - + + + + + - + diff --git a/uitest/test.xml b/uitest/test.xml index b0db8d47f4..57f61d67fa 100644 --- a/uitest/test.xml +++ b/uitest/test.xml @@ -3,7 +3,6 @@ - @@ -84,6 +83,11 @@ + + + + + @@ -103,13 +107,16 @@ - + + + - + @@ -129,7 +136,7 @@ - + -- 2.39.5