Resolves: tdf#151441 queries don't show any content
[LibreOffice.git] / solenv / gbuild / uitest-failed-default.sh
blob44d229379f8e70327c4ac6ae133d0591b142ac86
1 #!/bin/sh
2 # -*- Mode: sh; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 cat << EOF
12 Error: a unit test failed:
14 To rerun just this failed test without all others, use:
15 make UITest_$2
17 Or to run just a specific test case method, use:
18 make UITest_$2 UITEST_TEST_NAME="Module.ClassName.methodName"
19 where
20 Module - the name of the python file (without the .py extension)
21 Class - is the name in the "class Class" declaration
23 Or to do interactive debugging, run two shells with:
24 LANG=C SAL_USE_VCLPLUGIN=gen make debugrun
25 make gb_UITest_DEBUGRUN=T UITest_$2
27 The SAL_USE_VCLPLUGIN part is unnecessary if you are running on a kde desktop.
28 (The default gtk3 backend has issues with some uitests).
30 Failing that, put a
31 time.sleep(60)
32 in the beginning of the method in the .py file,
33 and attach gdb to the running soffice process.
35 EOF
37 # In theory, we could add this text, but it really doesn't work very well.
39 # Or to do interactive debugging, run two shells with:
40 # make debugrun
41 # make gb_UITest_DEBUGRUN=T UITest_$2
43 exit 1
45 # vim: set et sw=4: