|
@@ -17,6 +17,8 @@ rem You should have received a copy of the GNU Affero General Public License
|
|
|
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
rem ############################################################################## */
|
|
|
|
|
|
+setlocal enableextensions enabledelayedexpansion
|
|
|
+
|
|
|
if '%regresstgt%'=='' goto novars
|
|
|
rd /s /q %regresstgt%
|
|
|
md %regresstgt% 2>nul
|
|
@@ -24,19 +26,18 @@ md %regresstgt% 2>nul
|
|
|
set flags=-P%regresstgt% -legacy -target=thorlcr -fforceGenerate -fdebugNlp=1 -fnoteRecordSizeInGraph -fregressionTest -b -m -S -shared -faddTimingToWorkunit=0 -fshowRecordCountInGraph
|
|
|
set flags=%flags% %regressinclude%
|
|
|
|
|
|
-if NOT '%numParallel%'=='' goto multiway
|
|
|
+if NOT '%regressProcesses%'=='' goto multiway
|
|
|
eclcc %flags% %* > out.log
|
|
|
-if '%nocompare%'=='1' goto done;
|
|
|
-call bc regressNew
|
|
|
-goto done
|
|
|
+goto compare;
|
|
|
+
|
|
|
:multiway
|
|
|
-for /l %%c in (2,1,%numParallel%) do (
|
|
|
+for /l %%c in (2,1,%regressProcesses%) do (
|
|
|
set ECL_CCLOG=cclog%%c.txt
|
|
|
- start "Regress%%c" /min eclcc -split %%c%%:%numParallel% %flags% %*
|
|
|
+ start "Regress%%c" /min eclcc -split %%c%%:%regressProcesses% %flags% %*
|
|
|
)
|
|
|
|
|
|
set ECL_CCLOG=cclog1.txt
|
|
|
-eclcc -split 1:%numParallel% %flags% %*
|
|
|
+eclcc -split 1:%regressProcesses% %flags% %*
|
|
|
set ECL_CCLOG=
|
|
|
|
|
|
pause Press space when done
|
|
@@ -47,8 +48,8 @@ for %%f in (%regresstgt%\_batch_.*.log) do type %%f >> %regresstgt%\_batch_.tmp
|
|
|
sort %regresstgt%\_batch_.tmp > %regresstgt%\_batch_.log
|
|
|
del %regresstgt%\_batch_.tmp
|
|
|
|
|
|
-if '%nocompare%'=='1' goto done;
|
|
|
-call bc regressNew
|
|
|
+:compare
|
|
|
+if EXIST %~dp0\rcompare.bat. call %~dp0\rcompare %*
|
|
|
goto done;
|
|
|
|
|
|
:novars
|