lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / solenv / gbuild / uitest-failed-default.sh
blob8e0dc0e34b9b1b16a98ce337113f29db94f622b6
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, put a
24 time.sleep(60)
25 in the beginning of the method in the .py file,
26 and attach gdb to the running soffice process.
28 EOF
30 # In theory, we could add this text, but it really doesn't work very well.
32 # Or to do interactive debugging, run two shells with:
33 # make debugrun
34 # make gb_UITest_DEBUGRUN=T UITest_$2
36 exit 1
38 # vim: set et sw=4: