Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
avocado
提交
9b490fd8
A
avocado
项目概览
openeuler
/
avocado
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
avocado
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9b490fd8
编写于
6月 23, 2014
作者:
R
Rudá Moura
提交者:
Rudá Moura
6月 23, 2014
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #107 from lmr/fix-archive-mistake
Fix archive mistake
上级
09a16998
ace45182
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
4 addition
and
7 deletion
+4
-7
avocado/linux/kernel_build.py
avocado/linux/kernel_build.py
+0
-2
avocado/plugins/vm.py
avocado/plugins/vm.py
+1
-2
avocado/utils/remote.py
avocado/utils/remote.py
+2
-2
tests/linuxbuild/linuxbuild.py
tests/linuxbuild/linuxbuild.py
+1
-1
未找到文件。
avocado/linux/kernel_build.py
浏览文件 @
9b490fd8
...
@@ -18,8 +18,6 @@ import os
...
@@ -18,8 +18,6 @@ import os
import
logging
import
logging
import
shutil
import
shutil
from
avocado
import
test
from
avocado
import
job
from
avocado.utils
import
download
,
archive
,
build
from
avocado.utils
import
download
,
archive
,
build
log
=
logging
.
getLogger
(
'avocado.test'
)
log
=
logging
.
getLogger
(
'avocado.test'
)
...
...
avocado/plugins/vm.py
浏览文件 @
9b490fd8
...
@@ -94,8 +94,7 @@ class VMTestRunner(TestRunner):
...
@@ -94,8 +94,7 @@ class VMTestRunner(TestRunner):
zip_filename
=
remote_log_dir
+
'.zip'
zip_filename
=
remote_log_dir
+
'.zip'
zip_path_filename
=
os
.
path
.
join
(
local_log_dir
,
os
.
path
.
basename
(
zip_filename
))
zip_path_filename
=
os
.
path
.
join
(
local_log_dir
,
os
.
path
.
basename
(
zip_filename
))
self
.
result
.
vm
.
remote
.
receive_files
(
local_log_dir
,
zip_filename
)
self
.
result
.
vm
.
remote
.
receive_files
(
local_log_dir
,
zip_filename
)
archive
.
uncompress_zip
(
zip_path_filename
,
archive
.
uncompress
(
zip_path_filename
,
local_log_dir
)
local_log_dir
)
os
.
remove
(
zip_path_filename
)
os
.
remove
(
zip_path_filename
)
self
.
result
.
tear_down
()
self
.
result
.
tear_down
()
return
failures
return
failures
...
...
avocado/utils/remote.py
浏览文件 @
9b490fd8
...
@@ -109,7 +109,7 @@ class Remote(object):
...
@@ -109,7 +109,7 @@ class Remote(object):
try
:
try
:
fabric
.
operations
.
put
(
local_path
,
fabric
.
operations
.
put
(
local_path
,
remote_path
)
remote_path
)
except
ValueError
as
err
:
except
ValueError
:
return
False
return
False
return
True
return
True
...
@@ -124,6 +124,6 @@ class Remote(object):
...
@@ -124,6 +124,6 @@ class Remote(object):
try
:
try
:
fabric
.
operations
.
get
(
remote_path
,
fabric
.
operations
.
get
(
remote_path
,
local_path
)
local_path
)
except
ValueError
as
err
:
except
ValueError
:
return
False
return
False
return
True
return
True
tests/linuxbuild/linuxbuild.py
浏览文件 @
9b490fd8
...
@@ -29,7 +29,7 @@ class linuxbuild(test.Test):
...
@@ -29,7 +29,7 @@ class linuxbuild(test.Test):
def
setup
(
self
):
def
setup
(
self
):
kernel_version
=
self
.
params
.
linux_version
kernel_version
=
self
.
params
.
linux_version
config_path
=
tarball_path
=
self
.
get_deps_path
(
'config'
)
config_path
=
self
.
get_deps_path
(
'config'
)
self
.
linux_build
=
kernel_build
.
KernelBuild
(
kernel_version
,
self
.
linux_build
=
kernel_build
.
KernelBuild
(
kernel_version
,
config_path
,
config_path
,
self
.
srcdir
)
self
.
srcdir
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录