Bump version to 6.4.7.2.M8
[LibreOffice.git] / solenv / gbuild / platform / unittest-failed-default.sh
blob1e742fd7f16d6538661c1276dd3d7f1de5ef5901
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 # This file incorporates work covered by the following license notice:
12 # Licensed to the Apache Software Foundation (ASF) under one or more
13 # contributor license agreements. See the NOTICE file distributed
14 # with this work for additional information regarding copyright
15 # ownership. The ASF licenses this file to you under the Apache
16 # License, Version 2.0 (the "License"); you may not use this file
17 # except in compliance with the License. You may obtain a copy of
18 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 cat << EOF
21 Error: a unit test failed, please do one of:
23 make $1Test_$2 CPPUNITTRACE="gdb --args"
24 # for interactive debugging on Linux
25 make $1Test_$2 VALGRIND=memcheck
26 # for memory checking
27 make $1Test_$2 DEBUGCPPUNIT=TRUE
28 # for exception catching
30 You can limit the execution to just one particular test by:
32 EOF
34 case $1 in
35 Python)
36 cat << EOF
37 make PYTHON_TEST_NAME="testXYZ" ...above mentioned params...
39 EOF
42 cat << EOF
43 make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
45 EOF
47 esac
49 exit 1
51 # vim: set et sw=4: