Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
c7fecee8
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
9 个月 前同步成功
通知
8
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c7fecee8
编写于
3月 04, 2000
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
The selftest sometimes lacked important information
上级
7f112099
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
19 addition
and
3 deletion
+19
-3
.cvsignore
.cvsignore
+2
-0
util/selftest.pl
util/selftest.pl
+17
-3
未找到文件。
.cvsignore
浏览文件 @
c7fecee8
...
...
@@ -7,5 +7,7 @@ outinc
rehash.time
testlog
make.log
maketest.log
cctest
cctest.c
cctest.a
util/selftest.pl
浏览文件 @
c7fecee8
...
...
@@ -25,7 +25,7 @@ open(OUT,">$report") or die;
print
OUT
"
OpenSSL self-test report:
\n\n
";
$uname
=
`
uname -a
`;
$uname
=
"
??
"
if
$uname
eq
"";
$uname
=
"
??
\n
"
if
$uname
eq
"";
$c
=
`
sh config -t
`;
foreach
$_
(
split
("
\n
",
$c
))
{
...
...
@@ -83,6 +83,11 @@ if (open(TEST,">cctest.c")) {
print
OUT
"
Compiler doesn't work.
\n
";
goto
err
;
}
system
("
ar r cctest.a
");
if
(
not
-
f
"
cctest.a
")
{
print
OUT
"
Check your linker (ar).
\n
";
goto
err
;
}
}
else
{
print
OUT
"
Can't create cctest.c
\n
";
}
...
...
@@ -129,14 +134,14 @@ if (/no-/)
}
print
"
Running make test...
\n
";
if
(
system
("
make test 2>&1 | tee make.log
")
>
255
)
if
(
system
("
make test 2>&1 | tee make
test
.log
")
>
255
)
{
print
OUT
"
make test failed!
\n
";
}
else
{
$ok
=
1
;
}
if
(
$ok
and
open
(
IN
,"
<make.log
"))
{
if
(
$ok
and
open
(
IN
,"
<make
test
.log
"))
{
while
(
<
IN
>
)
{
$ok
=
2
if
/^platform: $platform/
;
}
...
...
@@ -155,6 +160,15 @@ if ($ok != 2) {
}
else
{
print
OUT
"
make.log not found!
\n
";
}
if
(
open
(
IN
,"
<maketest.log
"))
{
while
(
<
IN
>
)
{
print
OUT
;
}
close
(
IN
);
print
OUT
$sep
;
}
else
{
print
OUT
"
maketest.log not found!
\n
";
}
}
else
{
print
OUT
"
Test passed.
\n
";
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录