From: Mark Jansen Date: Thu, 22 Dec 2016 20:51:38 +0000 (+0000) Subject: [BOOTDATA] Update AHKAppTests.cmd to check all drives for the AHK-Tests. CORE-12597... X-Git-Tag: ReactOS-0.4.4-FOSDEM2017~59 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=11e9d57a3047f6a31ee9da84a1f89220dec60a1e;hp=bb5564609aec44f4cb19521a51a0c4141579c374;ds=sidebyside [BOOTDATA] Update AHKAppTests.cmd to check all drives for the AHK-Tests. CORE-12597 #resolve svn path=/trunk/; revision=73477 --- diff --git a/reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd b/reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd index 1743ab7c086..0b34c7a7cfd 100644 --- a/reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd +++ b/reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd @@ -1,11 +1,14 @@ @ECHO OFF -if not exist "D:\AHK-Tests" ( +set DRIVE= +for %%X in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (if exist %%X:\AHK-Tests set DRIVE=%%X) + +if not defined DRIVE ( dbgprint "AHK Application testing suite not present, skipping." exit /b 0 ) -xcopy /Y /H /E D:\AHK-Tests\*.* C:\ReactOS\bin +xcopy /Y /H /E %DRIVE%:\AHK-Tests\*.* %SystemRoot%\bin REM Download Amine's rosautotest from svn -dwnl http://svn.reactos.org/amine/rosautotest.exe C:\ReactOS\system32\rosautotest.exe +dwnl http://svn.reactos.org/amine/rosautotest.exe %SystemRoot%\system32\rosautotest.exe dbgprint "....AHK Application testing suite added."