[Libreoffice-commits] core.git: solenv/gbuild

Noel Grandin noel.grandin at collabora.co.uk
Sun Apr 29 16:22:02 UTC 2018


 solenv/gbuild/uitest-failed-default.sh |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit d72a115231879b1d56195b48ae021265c0654805
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Apr 25 14:31:43 2018 +0200

    improve message when uitest crashes
    
    add message about running specific sub-test
    
    Change-Id: Id680825944ecfcba18ac8d310d1ce36dbfed859a
    Reviewed-on: https://gerrit.libreoffice.org/53627
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/solenv/gbuild/uitest-failed-default.sh b/solenv/gbuild/uitest-failed-default.sh
index 4dc648bb6ab7..1aeb8c358b99 100755
--- a/solenv/gbuild/uitest-failed-default.sh
+++ b/solenv/gbuild/uitest-failed-default.sh
@@ -11,9 +11,12 @@ cat << EOF
 
 Error: a unit test failed:
 
-To rerun just this failed test without all others, run:
+To rerun just this failed test without all others, use:
     make UITest_$2
 
+Or to run just a specific test case method, use:
+    make UITest_$2 UITEST_TEST_NAME="package.ClassName.methodName"
+
 Or to do interactive debugging, put a long sleep in the beginning of the .py
 uitest file, and attach gdb to the running soffice process.
 


More information about the Libreoffice-commits mailing list