From 59e6f2ce576c9a5e9b436b4004a6d0834cf6d047 Mon Sep 17 00:00:00 2001 From: Alexandre Montplaisir Date: Fri, 10 Jul 2015 15:45:54 -0400 Subject: [PATCH] releng: Add a Maven profile to run a custom test suite in alltests Change-Id: I8484e5de675ad0b469182e3e2e1aeacdd380170a Signed-off-by: Alexandre Montplaisir Reviewed-on: https://git.eclipse.org/r/51777 Reviewed-by: Hudson CI Reviewed-by: Marc-Andre Laperle Tested-by: Marc-Andre Laperle --- README.md | 6 +++++ .../org.eclipse.tracecompass.alltests/pom.xml | 27 +++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/README.md b/README.md index f4b4cba584..660a93b08f 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,12 @@ the build system. You can set them by using `-P[profile name]` and Builds the RCP archives. Refer to the previous section for details. +* `-Prun-custom-test-suite` + + Runs a test suite present in `releng/org.eclipse.tracecompass.alltests`. The + test suite to run has to be defined by `-DcustomTestSuite=[name]`, for example + `-DcustomTestSuite=RunAllCoreTests`. + * `-Pdeploy-rcp` Mainly for use on build servers. Copies the generated RCP archives, as well as diff --git a/releng/org.eclipse.tracecompass.alltests/pom.xml b/releng/org.eclipse.tracecompass.alltests/pom.xml index ba354a54d0..60d7450198 100644 --- a/releng/org.eclipse.tracecompass.alltests/pom.xml +++ b/releng/org.eclipse.tracecompass.alltests/pom.xml @@ -44,6 +44,33 @@ + + + run-custom-test-suite + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + + **/${customTestSuite}.java + + true + false + ${tycho.testArgLine} ${base.ui.test.vmargs} + org.eclipse.platform.ide + + ${SWT_GTK3} + + + + + + + performance -- 2.34.1