pascalabcnet/_RebuildReleaseAndRunTests.bat

59 lines
1.4 KiB
Batchfile
Raw Permalink Normal View History

dotnet build -c Release --no-incremental PascalABCNET.sln
2015-12-29 15:32:45 +03:00
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
cd ReleaseGenerators
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
del "..\bin\Lib\SPython\*.pcu" /q
..\bin\pabcnetc RebuildStandartModulesSPython.pas
2015-12-29 15:32:45 +03:00
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
2023-07-29 10:08:33 +03:00
2015-12-29 15:32:45 +03:00
cd PABCRtl
..\..\bin\pabcnetc PABCRtl.pas /rebuild
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
..\sn.exe -Vr PABCRtl.dll
..\sn.exe -R PABCRtl.dll KeyPair.snk
..\sn.exe -Vu PABCRtl.dll
copy PABCRtl.dll ..\..\bin\Lib
cd ..
ExecHide.exe gacutil.exe /u PABCRtl
ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
del "..\bin\Lib\SPython\*.pcu" /q
..\bin\pabcnetc RebuildStandartModulesSPython.pas
2015-12-29 15:32:45 +03:00
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
2023-07-29 10:08:33 +03:00
2015-12-29 15:32:45 +03:00
cd ..\TestSuite
REM ..\bin\MPGORunner.exe
..\bin\TestRunner.exe 1
..\bin\TestRunner.exe 2
..\bin\TestRunner.exe 3
..\bin\TestRunner.exe 4
..\bin\TestRunner.exe 5
..\bin\TestRunner.exe 6
cd ..\TestSuiteAdditionalLanguages\SPythonTests
..\..\bin\TestRunner.exe 1
..\..\bin\TestRunner.exe 2
..\..\bin\TestRunner.exe 3
..\..\bin\TestRunner.exe 4
..\..\bin\TestRunner.exe 5
..\..\bin\TestRunner.exe 6
cd ..\..
2023-08-14 00:17:35 +03:00
2015-12-29 15:32:45 +03:00
GOTO EXIT
:ERROR
PAUSE
:EXIT