* Reorganize files in TestSuite dir for multiple languages * Add SPython samples to TestSuite * Update TestRunner to support multiple languages * Delete dll files accidentally pushed * Update .gitignore * Revert "Delete dll files accidentally pushed" This reverts commit 62bcba2b821d58ae51ec98e9dadcf621bb0fc003. * Update testing dir path in Testing.cs * Improve TestRunner output * Add random module and it's usage sample * Reorganize gitignore files * Move pascal tests back to TestSuite and create new TestSuiteLanguagePlugins folder for SPython * Revert "Update testing dir path in Testing.cs" This reverts commit 7d94eafb25292421bce8315520b4f6a0de001bbd. * Revert crlf changes in pascal tests * Test changes of _RebuildReleaseAndRunTestsForGitHubActions.bat * Revert "Test changes of _RebuildReleaseAndRunTestsForGitHubActions.bat" This reverts commit 234ceae3e3a339fbc68a6170e2bd201dab14d67d. * Test changes in StorageLocationPicker * Another test changes in StorageLocationPicker.cs * Rename LanguagePlugins folder to AdditionalLanguages * Decouple TestRunner from language names and parameters * Revert calling TestRunner without parameters in .bat files * Fix formatter tests nogui exception handling * Small refactoring in Testing.cs and TestRunner fix of working directory
67 lines
1.8 KiB
Batchfile
67 lines
1.8 KiB
Batchfile
cd ReleaseGenerators\Samples\
|
|
del Pas /s /q
|
|
del BF /s /q
|
|
del PL0 /s /q
|
|
GetSamples.exe "..\..\InstallerSamples" Pas\
|
|
GetSamples.exe _svn\BF BF
|
|
GetSamples.exe _svn\PL0\ PL0\
|
|
cd ..\..
|
|
|
|
Utils\IncrementVresion\IncrementVresion.exe Configuration\Version.defs REVISION 1
|
|
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs Configuration\GlobalAssemblyInfo.cs.tmpl Configuration\GlobalAssemblyInfo.cs
|
|
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs ReleaseGenerators\PascalABCNET_version.nsh.tmpl ReleaseGenerators\PascalABCNET_version.nsh
|
|
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs Configuration\pabcversion.txt.tmpl Release\pabcversion.txt
|
|
|
|
dotnet build -c Release --no-incremental PascalABCNET.sln
|
|
|
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
|
|
|
cd ReleaseGenerators
|
|
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
|
|
|
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
|
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
|
|
|
|
|
cd ..\TestSuite
|
|
..\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 ..\..\ReleaseGenerators
|
|
call PascalABCNET_ALL.bat
|
|
|
|
GOTO EXIT
|
|
|
|
:ERROR
|
|
PAUSE
|
|
|
|
:EXIT
|