projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[BOOTDATA] Update AHKAppTests.cmd to check all drives for the AHK-Tests. CORE-12597...
[reactos.git]
/
reactos
/
boot
/
bootdata
/
bootcdregtest
/
AHKAppTests.cmd
diff --git
a/reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd
b/reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd
index
1743ab7
..
0b34c7a
100644
(file)
--- a/
reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd
+++ b/
reactos/boot/bootdata/bootcdregtest/AHKAppTests.cmd
@@
-1,11
+1,14
@@
@ECHO OFF
\r
\r
@ECHO OFF
\r
\r
-if not exist "D:\AHK-Tests" (
\r
+set DRIVE=
\r
+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)
\r
+
\r
+if not defined DRIVE (
\r
dbgprint "AHK Application testing suite not present, skipping."
\r
exit /b 0
\r
)
\r
\r
dbgprint "AHK Application testing suite not present, skipping."
\r
exit /b 0
\r
)
\r
\r
-xcopy /Y /H /E
D:\AHK-Tests\*.* C:\ReactOS
\bin
\r
+xcopy /Y /H /E
%DRIVE%:\AHK-Tests\*.* %SystemRoot%
\bin
\r
REM Download Amine's rosautotest from svn
\r
REM Download Amine's rosautotest from svn
\r
-dwnl http://svn.reactos.org/amine/rosautotest.exe
C:\ReactOS
\system32\rosautotest.exe
\r
+dwnl http://svn.reactos.org/amine/rosautotest.exe
%SystemRoot%
\system32\rosautotest.exe
\r
dbgprint "....AHK Application testing suite added."
\r
dbgprint "....AHK Application testing suite added."
\r