Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2925_AutoDiffForDynamicalModels/Test.cmd @ 16386

Last change on this file since 16386 was 15682, checked in by swagner, 7 years ago

#2887: moved content of trunk/sources to trunk

  • Property svn:mergeinfo set to (toggle deleted branches)
    /stable/Test.cmdmergedeligible
    /branches/1721-RandomForestPersistence/Test.cmd10321-10322
    /branches/Algorithms.GradientDescent/Test.cmd5516-5520
    /branches/Async/Test.cmd13329-15286
    /branches/Benchmarking/sources/Test.cmd6917-7005
    /branches/CloningRefactoring/Test.cmd4656-4721
    /branches/CodeEditor/Test.cmd11700-11806
    /branches/DataAnalysis Refactoring/Test.cmd5471-5808
    /branches/DataAnalysis SolutionEnsembles/Test.cmd5815-6180
    /branches/DataAnalysis/Test.cmd4458-4459,​4462,​4464
    /branches/DataPreprocessing/Test.cmd10085-11101
    /branches/GP.Grammar.Editor/Test.cmd6284-6795
    /branches/GP.Symbols (TimeLag, Diff, Integral)/Test.cmd5060
    /branches/HLScript/Test.cmd10331-10358
    /branches/HeuristicLab.DatasetRefactor/sources/Test.cmd11570-12508
    /branches/HeuristicLab.Problems.DataAnalysis.Trading/Test.cmd6123-9799
    /branches/HeuristicLab.Problems.Orienteering/Test.cmd11130-12721
    /branches/HiveStatistics/sources/Test.cmd12440-12877
    /branches/LogResidualEvaluator/Test.cmd10202-10483
    /branches/NET40/sources/Test.cmd5138-5162
    /branches/NSGA-II Changes/Test.cmd12033-12122
    /branches/ParallelEngine/Test.cmd5175-5192
    /branches/ProblemInstancesRegressionAndClassification/Test.cmd7568-7810
    /branches/QAPAlgorithms/Test.cmd6350-6627
    /branches/Restructure trunk solution/Test.cmd6828
    /branches/RuntimeOptimizer/Test.cmd8943-9078
    /branches/ScatterSearch (trunk integration)/Test.cmd7787-8333
    /branches/SlaveShutdown/Test.cmd8944-8956
    /branches/SpectralKernelForGaussianProcesses/Test.cmd10204-10479
    /branches/SuccessProgressAnalysis/Test.cmd5370-5682
    /branches/Trunk/Test.cmd6829-6865
    /branches/UnloadJobs/Test.cmd9168-9215
    /branches/VNS/Test.cmd5594-5752
    /branches/crossvalidation-2434/Test.cmd12948-12950
    /branches/histogram/Test.cmd5959-6341
    /branches/symbreg-factors-2650/Test.cmd14232-14825
File size: 1.3 KB
Line 
1@ECHO OFF
2
3SET /P BUILDBEFORETEST=Should the test project be rebuilt [n]:
4
5SET TESTCATEGORY=%~1
6
7IF "%TESTCATEGORY%"=="" SET TESTCATEGORY=Essential
8SET /P USERCATEGORY=Which category do you want to run  [%TESTCATEGORY%]:
9IF "%USERCATEGORY%" NEQ "" SET TESTCATEGORY=%USERCATEGORY%
10
11set /P TESTPLATFORM=Which platform to run the tests [x64]:
12IF "%TESTPLATFORM%"=="" SET TESTPLATFORM=x64
13
14FOR /F "tokens=1,3 delims=   " %%A IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0"') DO (
15  IF "%%A"=="MSBuildToolsPath" SET MSBUILDPATH=%%B)
16
17IF "%BUILDBEFORETEST%" NEQ "" (
18  ECHO Building tests project ...
19  %MSBUILDPATH%msbuild.exe "HeuristicLab 3.3 Tests.sln" /target:Rebuild /p:Configuration="Debug",Platform="%TESTPLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly
20)
21
22ECHO Test starting for category %TESTCATEGORY%...
23
24FOR /F "tokens=1,2,* delims=   " %%A IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\SxS\VS7"') DO (
25  IF "%%A"=="14.0" (SET VSPATH=%%C) & GOTO :run_tests
26  IF "%%A"=="12.0" (SET VSPATH=%%C) & GOTO :run_tests
27)
28
29:run_tests
30"%VSPATH%Common7\IDE\CommonExtensions\Microsoft\TestWindow\VSTest.Console.exe" bin\HeuristicLab.Tests.dll /Framework:framework40 /Platform:%TESTPLATFORM% /TestCaseFilter:"TestCategory=%TESTCATEGORY%"
31
32PAUSE
Note: See TracBrowser for help on using the repository browser.