summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 14:31:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-29 18:21:42 +0200
commitd72a115231879b1d56195b48ae021265c0654805 (patch)
tree255b3b5185a1bb7a37d975d4e1c3c11187222f35 /solenv
parentcd65f098382c14439f6502bbe72e1d78d23a92c5 (diff)
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@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/gbuild/uitest-failed-default.sh5
1 files changed, 4 insertions, 1 deletions
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.