Version 6.1.0.2, tag libreoffice-6.1.0.2
[LibreOffice.git] / solenv / gbuild / uitest-failed-default.sh
blob1aeb8c358b9946ec6414514d4259e91ece0ea5d4
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="package.ClassName.methodName"
20 Or to do interactive debugging, put a long sleep in the beginning of the .py
21 uitest file, and attach gdb to the running soffice process.
23 EOF
25 # In theory, we could add this text, but it really doesn't work very well.
27 # Or to do interactive debugging, run two shells with:
28 # make debugrun
29 # make gb_UITest_DEBUGRUN=T UITest_$2
31 exit 1
33 # vim: set et sw=4: