-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtests.bat
More file actions
31 lines (22 loc) · 753 Bytes
/
tests.bat
File metadata and controls
31 lines (22 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
::! Copyright (c) 2015 Denis Kuzmin <x-3F@outlook.com> github/3F
::! Copyright (c) GetNuTool contributors https://github.com/3F/GetNuTool/graphs/contributors
::! Licensed under the MIT License (MIT).
::! See accompanying License.txt file or visit https://github.com/3F/GetNuTool
@echo off
:: run tests for .bat edition
setlocal
if exist "core\gnt.core" (
set "bdir=..\shell\batch\"
call srv.create >nul
set "gntLocalServer=..\\"
) else if exist "bin\Release\" (
set "bdir=..\bin\Release\"
set "gntLocalServer=..\bin\Release\\"
) else goto buildError
cd tests
call _run gnt %bdir%
endlocal
exit /B 0
:buildError
echo. Tests cannot be started: Check your build first. >&2
exit /B 1