Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
d7d7fae1
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
d7d7fae1
编写于
5月 19, 2021
作者:
Z
Zhou Wei
提交者:
GitHub
5月 19, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix Link unittest exe random fail (#32891)
上级
c66586b4
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
7 deletion
+10
-7
paddle/scripts/paddle_build.bat
paddle/scripts/paddle_build.bat
+7
-6
tools/check_added_ut.sh
tools/check_added_ut.sh
+1
-1
tools/windows/run_unittests.sh
tools/windows/run_unittests.sh
+2
-0
未找到文件。
paddle/scripts/paddle_build.bat
浏览文件 @
d7d7fae1
...
...
@@ -40,10 +40,8 @@ taskkill /f /im python.exe 2>NUL
taskkill
/f /im
nvcc
.exe
2
>
NUL
taskkill
/f /im
cicc
.exe
2
>
NUL
taskkill
/f /im
ptxas
.exe
2
>
NUL
taskkill
/f /im
test_api_impl
.exe
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"test_api_impl.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"rc.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cl.exe"
call
terminate
2
>
NUL
...
...
@@ -400,16 +398,18 @@ taskkill /f /im csc.exe 2>NUL
taskkill
/f /im
nvcc
.exe
2
>
NUL
taskkill
/f /im
cicc
.exe
2
>
NUL
taskkill
/f /im
ptxas
.exe
2
>
NUL
taskkill
/f /im
test_api_impl
.exe
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
wmic
process
where
name
=
"cmake.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"test_api_impl.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"rc.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cl.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"lib.exe"
call
terminate
2
>
NUL
if
"
%WITH_TESTING%
"
==
"ON"
(
for
/F
"tokens=1 delims= "
%%
#
in
(
'tasklist
^|
findstr /i test'
)
do
taskkill
/f /im
%%
#
)
echo
Build
Paddle
the
%build_times%
time
:
if
%GENERATOR%
==
"Ninja"
(
ninja
-j
%PARALLEL_PROJECT_COUNT%
...
...
@@ -776,15 +776,16 @@ taskkill /f /im python.exe 2>NUL
taskkill
/f /im
nvcc
.exe
2
>
NUL
taskkill
/f /im
cicc
.exe
2
>
NUL
taskkill
/f /im
ptxas
.exe
2
>
NUL
taskkill
/f /im
test_api_impl
.exe
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"test_api_impl.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"rc.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cl.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"lib.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"python.exe"
call
terminate
2
>
NUL
if
"
%WITH_TESTING%
"
==
"ON"
(
for
/F
"tokens=1 delims= "
%%
#
in
(
'tasklist
^|
findstr /i test'
)
do
taskkill
/f /im
%%
#
)
echo
Windows
CI
run
successfully
!
exit
/b
0
...
...
tools/check_added_ut.sh
浏览文件 @
d7d7fae1
...
...
@@ -35,8 +35,8 @@ elif [[ "$SYSTEM" == "Windows_NT" ]];then
git remote |
grep
upstream
if
[
$?
!=
0
]
;
then
git remote add upstream https://github.com/PaddlePaddle/Paddle.git
git fetch upstream develop
fi
git fetch upstream
${
BRANCH
}
fi
CURBRANCH
=
`
git rev-parse
--abbrev-ref
HEAD
`
echo
$CURBRANCH
...
...
tools/windows/run_unittests.sh
浏览文件 @
d7d7fae1
...
...
@@ -69,6 +69,7 @@ disable_wingpu_test="^test_model$|\
^test_py_reader_pin_memory
$|
\
^test_py_reader_push_pop
$|
\
^test_reader_reset
$|
\
^test_imperative_se_resnext
$|
\
^test_sync_batch_norm_op
$|
\
^test_imperative_static_runner_while
$|
\
^test_dataloader_keep_order
$|
\
...
...
@@ -345,6 +346,7 @@ if [ "${WITH_GPU:-OFF}" == "ON" ];then
if
[
-f
"
$PADDLE_ROOT
/added_ut"
]
;
then
added_uts
=
^
$(
awk
BEGIN
{
RS
=
EOF
}
'{gsub(/\n/,"$|^");print}'
$PADDLE_ROOT
/added_ut
)
$
ctest
-R
"(
${
added_uts
}
)"
--output-on-failure
-C
Release
--repeat-until-fail
3
;
added_ut_error
=
$?
rm
-f
$PADDLE_ROOT
/added_ut
if
[
"
$added_ut_error
"
!=
0
]
;
then
echo
"========================================"
echo
"Added UT should pass three additional executions"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录