Commit ba47d5d7 authored by Jan Möbius's avatar Jan Möbius
Browse files

Head for windows bath files




git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13544 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 488ef8a3
@echo off
setlocal enabledelayedexpansion
if [%1] == [] goto usage
if [%2] == [] goto usage
SET /a counter=0
for /f "usebackq delims=" %%a in (%2) do (
if "!counter!"=="%1" goto exit
echo %%a
set /a counter+=1
)
goto exit
:usage
echo Usage: head.bat COUNT FILENAME
:exit
......@@ -5,9 +5,15 @@ del ..\CTestResults.xml
ctest -D ExperimentalTest -C Release --no-compress-output
head.bat 1 Testing\TAG
for /f "delims=" %a in ('head.bat 1 Testing\TAG') do @set result=%a
echo %result%
cd Testing
cd 2*
cd %result%
copy /Y Test.xml ..\..\..\CTestResults.xml
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment