summaryrefslogtreecommitdiff
path: root/solenv/gbuild/uitest-failed-default.sh
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-09 10:54:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-10 08:29:55 +0200
commitbff02d54960b55e16d5c1220719bb86dc1fdd205 (patch)
tree66d6734d5c91e110bca5233ed3de3874e59d095e /solenv/gbuild/uitest-failed-default.sh
parent139750d7c295b84f4c42bf9409ccbdfb0c46b9f6 (diff)
uitests - error if UITEST_TEST_NAME not set to anything useful
so the next poor sod who doesn't understand the instructions doesn't waste time with the wrong way of specifying the tests Change-Id: I9759c7f792ec80d660f70f79dc6e2589d44e360f Reviewed-on: https://gerrit.libreoffice.org/57177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv/gbuild/uitest-failed-default.sh')
-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 1aeb8c358b99..c4555d0d069d 100755
--- a/solenv/gbuild/uitest-failed-default.sh
+++ b/solenv/gbuild/uitest-failed-default.sh
@@ -15,7 +15,10 @@ 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"
+ make UITest_$2 UITEST_TEST_NAME="Module.ClassName.methodName"
+where
+ Module - the name of the python file (without the .py extension)
+ Class - is the name in the "class Class" declaration
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.