-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtests.bat
More file actions
31 lines (22 loc) · 745 Bytes
/
tests.bat
File metadata and controls
31 lines (22 loc) · 745 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) 2021 Denis Kuzmin <x-3F@outlook.com> github/3F
::! Copyright (c) netfx4sdk contributors https://github.com/3F/netfx4sdk/graphs/contributors
::! Licensed under the MIT License (MIT).
::! See accompanying License.txt file or visit https://github.com/3F/netfx4sdk
@echo off
:: run tests by default
setlocal
if exist "bin\Release\raw\" (
set "rdir=..\bin\Release\raw\"
set "nfxLocalServer=..\bin\Release\\"
) else if exist ".sha1" (
set "rdir=..\"
call srv.create >nul
set "nfxLocalServer=..\\"
) else goto buildError
cd tests
call _run %rdir% netfx4sdk.cmd
endlocal
exit /B 0
:buildError
echo. Tests cannot be started: Check your build first. >&2
exit /B 1