Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
18bced13
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
1 年多 前同步成功
通知
0
Star
18
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Harfbuzz
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
18bced13
编写于
5月 27, 2011
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[test] Rename test-symbols to check-symbols
Shows undocumented symbols.
上级
376dafa6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
21 addition
and
16 deletion
+21
-16
test/Makefile.am
test/Makefile.am
+21
-16
未找到文件。
test/Makefile.am
浏览文件 @
18bced13
...
...
@@ -51,21 +51,7 @@ test_object_LIBS = $(LDADD) $(FREETYPE_LIBS)
endif
# test-symbols: Finds untested API symbols
symbols-tested.txt
:
$(TEST_PROGS)
$(AM_V_GEN)$(top_builddir)
/libtool
--mode
=
execute nm
$^
\
|
grep
' U hb_'
|
sed
's/.* U hb_/hb_/'
\
|
sort
|
uniq
>
$@
.tmp
&&
mv
$@
.tmp
$@
symbols-exported.txt
:
$(top_builddir)/src/.libs/libharfbuzz.so
$(AM_V_GEN)$(top_builddir)
/libtool
--mode
=
execute nm
$^
\
|
grep
' T '
|
sed
's/.* T //'
|
grep
-v
'^\(_init\|_fini\)$$'
\
|
sort
|
uniq
>
$@
.tmp
&&
mv
$@
.tmp
$@
symbols-untested.txt
:
symbols-tested.txt symbols-exported.txt
$(AM_V_GEN)
diff
$^
>
$@
.tmp
;
mv
$@
.tmp
$@
CLEANFILES
+=
symbols-tested.txt symbols-exported.txt symbols-untested.txt
test-symbols
:
symbols-untested.txt
@
!
cat
$^
|
grep
.
# Default test running environment
TESTS
=
$(TEST_PROGS)
TESTS_ENVIRONMENT
=
\
MALLOC_CHECK_
=
2
\
...
...
@@ -74,6 +60,7 @@ TESTS_ENVIRONMENT = \
G_SLICE
=
always-malloc
\
$(ENV)
# check-tool: Run tests under $(TOOL)
check-tool
:
$(AM_V_at)$(MAKE)
$(AM_MAKEFLAGS)
check
\
...
...
@@ -90,6 +77,7 @@ GTESTER = gtester
check-gtester
:
$(AM_V_at)$(MAKE)
$(AM_MAKEFLGS)
check-tool-raw
TOOL
=
"
$(GTESTER)
--verbose"
# Check tests under valgrind. Saves log to valgrind-log
VALGRIND_FLAGS
=
\
--tool
=
memcheck
--suppressions
=
$(srcdir)
/.valgrind-suppressions
\
...
...
@@ -108,12 +96,29 @@ check-valgrind:
2>&1 |
tee
valgrind-log
$(valgrind_verbose)
# check-symbols: Finds untested API symbols
symbols-tested.txt
:
$(TEST_PROGS)
$(AM_V_GEN)$(top_builddir)
/libtool
--mode
=
execute nm
$^
\
|
grep
' U hb_'
|
sed
's/.* U hb_/hb_/'
\
|
sort
|
uniq
>
$@
.tmp
&&
mv
$@
.tmp
$@
symbols-exported.txt
:
$(top_builddir)/src/.libs/libharfbuzz.so
$(AM_V_GEN)$(top_builddir)
/libtool
--mode
=
execute nm
$^
\
|
grep
' T '
|
sed
's/.* T //'
|
grep
-v
'^\(_init\|_fini\)$$'
\
|
sort
|
uniq
>
$@
.tmp
&&
mv
$@
.tmp
$@
symbols-untested.txt
:
symbols-tested.txt symbols-exported.txt
$(AM_V_GEN)
diff
$^
>
$@
.tmp
;
mv
$@
.tmp
$@
CLEANFILES
+=
symbols-tested.txt symbols-exported.txt symbols-untested.txt
check-symbols
:
symbols-untested.txt
@
!
cat
$^
|
grep
.
else
check-am
:
@
echo
"You need to have glib support enabled to run the tests"
@
exit
77
endif
.PHONY
:
test
-symbols check-tool check-valgrind
.PHONY
:
check
-symbols check-tool check-valgrind
-include
$(top_srcdir)/git.mk
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录