bump product version to 6.3.0.0.beta1
[LibreOffice.git] / solenv / gbuild / uitest-failed-default.sh
blob4189f306a9ab69f12d1ef70b1ae7d2541347319a
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 SAL_USE_VCLPLUGIN=gtk 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: