From 81d31b29220506f86594198fd678f1ed1683b04b Mon Sep 17 00:00:00 2001 From: caifuzhou Date: Fri, 14 Jan 2022 16:58:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=84=9A=E6=9C=AC=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=E7=9A=84=E8=B7=AF=E5=BE=84=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: caifuzhou --- scripts/runtest_Windows.bat | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/runtest_Windows.bat b/scripts/runtest_Windows.bat index f2094052..1b94c60f 100644 --- a/scripts/runtest_Windows.bat +++ b/scripts/runtest_Windows.bat @@ -14,7 +14,7 @@ set REMOTE=/data/tests/libc-test/src @REM runtest脚本所在目录 set SHDIR=%LOCAL%\third_party\musl\scripts -@REM Do not modify the following code unless necessary +@REM 非必要情况下不要修改以下代码 @REM 开始时间 set /a startS=%time:~6,2% set /a startM=%time:~3,2% @@ -51,8 +51,12 @@ goto hdcSend for /F %%i in ('dir %TESTDIR% /S /B') do ( for %%b in ("%%i\..") do ( echo Sending %%~nb/%%~nxi - hdc file send -sync %%i %REMOTE%/%%~nb/%%~nxi - hdc shell chmod a+x %REMOTE%/%%~nb/%%~nxi + if "%%~nb" == "src" ( + hdc shell chmod a+x %REMOTE%/%%~nxi + ) else ( + hdc file send -sync %%i %REMOTE%/%%~nb/%%~nxi + hdc shell chmod a+x %REMOTE%/%%~nb/%%~nxi + ) ) ) @REM 动态库传输 -- GitLab