Resolves: tdf#151441 queries don't show any content
[LibreOffice.git] / solenv / gbuild / platform / unittest-failed-WNT.sh
blob5ace1f0d1d95c24da0d109037a25cb952ee2fc0f
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:
22 make $1Test_$2 CPPUNITTRACE=TRUE # which is a shortcut for the following line
23 make $1Test_$2 CPPUNITTRACE="'$DEVENV' /debugexe" # for interactive debugging in Visual Studio
24 make $1Test_$2 CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)
26 You can limit the execution to just one particular test by:
28 EOF
30 case $1 in
31 Python)
32 cat << EOF
33 make $1Test_$2 PYTHON_TEST_NAME="testXYZ" ...above mentioned params...
35 EOF
38 cat << EOF
39 make $1Test_$2 CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
41 EOF
43 esac
45 exit 1
47 # vim: set et sw=4: