Debian Codegraph @

scripts/shell/run_tests.bat

raw
1 @echo off
2
3 rem Copyright (c), ETH Zurich and UNC Chapel Hill.
4 rem All rights reserved.
5 rem
6 rem Redistribution and use in source and binary forms, with or without
7 rem modification, are permitted provided that the following conditions are met:
8 rem
9 rem * Redistributions of source code must retain the above copyright
10 rem notice, this list of conditions and the following disclaimer.
11 rem
12 rem * Redistributions in binary form must reproduce the above copyright
13 rem notice, this list of conditions and the following disclaimer in the
14 rem documentation and/or other materials provided with the distribution.
15 rem
16 rem * Neither the name of ETH Zurich and UNC Chapel Hill nor the names of
17 rem its contributors may be used to endorse or promote products derived
18 rem from this software without specific prior written permission.
19 rem
20 rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 rem AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 rem IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 rem ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 rem LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 rem CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 rem SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 rem INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 rem CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 rem ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 rem POSSIBILITY OF SUCH DAMAGE.
31
32 set SCRIPT_PATH=%~dp0
33
34 set PATH=%SCRIPT_PATH%\bin;%PATH%
35 set QT_PLUGIN_PATH=%SCRIPT_PATH%\plugins;%QT_PLUGIN_PATH%
36
37 @echo on
38
39 for %%i in (%SCRIPT_PATH%\bin\*_test.exe) do (
40 %%i
41
42 if %errorlevel% neq 0 goto end
43 )
44
45 :end
46 pause