Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
6962a2dd
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6962a2dd
编写于
5月 19, 2009
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added an optional OCaml+CIL test program for mutex lock validation
上级
3ce55d22
变更
10
展开全部
显示空白变更内容
内联
并排
Showing
10 changed file
with
903 addition
and
3 deletion
+903
-3
.hgignore
.hgignore
+6
-0
ChangeLog
ChangeLog
+13
-0
configure.in
configure.in
+16
-0
src/.cvsignore
src/.cvsignore
+2
-0
src/.gitignore
src/.gitignore
+2
-0
src/Makefile.am
src/Makefile.am
+3
-2
tests/.cvsignore
tests/.cvsignore
+4
-0
tests/.gitignore
tests/.gitignore
+4
-0
tests/Makefile.am
tests/Makefile.am
+26
-1
tests/object-locking.ml
tests/object-locking.ml
+827
-0
未找到文件。
.hgignore
浏览文件 @
6962a2dd
...
@@ -235,9 +235,11 @@ src/*.exe
...
@@ -235,9 +235,11 @@ src/*.exe
src/*.gcda
src/*.gcda
src/*.gcno
src/*.gcno
src/*.gcov
src/*.gcov
src/*.i
src/*.la
src/*.la
src/*.lo
src/*.lo
src/*.loT
src/*.loT
src/*.s
src/.deps
src/.deps
src/.libs
src/.libs
src/Makefile
src/Makefile
...
@@ -264,6 +266,10 @@ tests/conftest
...
@@ -264,6 +266,10 @@ tests/conftest
tests/eventtest
tests/eventtest
tests/nodedevxml2xmltest
tests/nodedevxml2xmltest
tests/nodeinfotest
tests/nodeinfotest
tests/object-locking
tests/object-locking-files.txt
tests/object-locking.cmi
tests/object-locking.cmx
tests/qemuxml2argvtest
tests/qemuxml2argvtest
tests/qemuxml2xmltest
tests/qemuxml2xmltest
tests/qparamtest
tests/qparamtest
...
...
ChangeLog
浏览文件 @
6962a2dd
Tue May 19 11:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
Add an optional OCaml+CIL mutex lock checker
* .hgignore, src/.cvsignore, src/.gitignore, tests/.gitignore,
tests/.cvsignore: Ignore binary files from ocaml build. Ignore
.i and .s files from gcc -save-temps
* configure.in: Add --enable-test-locking arg to turn on build
of OCaml/CIL mutex locking test
* src/Makefile.am: Add $(LOCK_CHECKING_CFLAGS) used when lock
checking tests are enabled.
* tests/Makefile.am, tests/object-locking.ml: Add OCaml/CIL
program for validating mutex locking correctness
Mon May 18 16:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
Mon May 18 16:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_conf.c: Declare support for migration in capabilities
* src/qemu_conf.c: Declare support for migration in capabilities
...
...
configure.in
浏览文件 @
6962a2dd
...
@@ -1132,6 +1132,22 @@ if test "${enable_oom}" = yes; then
...
@@ -1132,6 +1132,22 @@ if test "${enable_oom}" = yes; then
AC_DEFINE([TEST_OOM], 1, [Whether malloc OOM checking is enabled])
AC_DEFINE([TEST_OOM], 1, [Whether malloc OOM checking is enabled])
fi
fi
AC_ARG_ENABLE([test-locking],
[ --enable-test-locking thread locking tests using CIL],
[case "${enableval}" in
yes|no) ;;
*) AC_MSG_ERROR([bad value ${enableval} for test-locking option]) ;;
esac],
[enableval=no])
enable_locking=$enableval
if test "$enable_locking" = "yes"; then
LOCK_CHECKING_CFLAGS="-Dbool=char -D_Bool=char -save-temps"
AC_SUBST([LOCK_CHECKING_CFLAGS])
fi
AM_CONDITIONAL([WITH_CIL],[test "$enable_locking" = "yes"])
dnl Enable building the proxy?
dnl Enable building the proxy?
AC_ARG_WITH([xen-proxy],
AC_ARG_WITH([xen-proxy],
...
...
src/.cvsignore
浏览文件 @
6962a2dd
...
@@ -16,3 +16,5 @@ libvirt_lxc
...
@@ -16,3 +16,5 @@ libvirt_lxc
virsh-net-edit.c
virsh-net-edit.c
virsh-pool-edit.c
virsh-pool-edit.c
libvirt.syms
libvirt.syms
*.i
*.s
src/.gitignore
浏览文件 @
6962a2dd
...
@@ -16,3 +16,5 @@ libvirt_lxc
...
@@ -16,3 +16,5 @@ libvirt_lxc
virsh-net-edit.c
virsh-net-edit.c
virsh-pool-edit.c
virsh-pool-edit.c
libvirt.syms
libvirt.syms
*.i
*.s
src/Makefile.am
浏览文件 @
6962a2dd
...
@@ -16,7 +16,8 @@ INCLUDES = \
...
@@ -16,7 +16,8 @@ INCLUDES = \
-DLOCALEBASEDIR
=
\"
"
$(datadir)
/locale"
\"
\
-DLOCALEBASEDIR
=
\"
"
$(datadir)
/locale"
\"
\
-DLOCAL_STATE_DIR
=
\"
"
$(localstatedir)
"
\"
\
-DLOCAL_STATE_DIR
=
\"
"
$(localstatedir)
"
\"
\
-DGETTEXT_PACKAGE
=
\"
$(PACKAGE)
\"
\
-DGETTEXT_PACKAGE
=
\"
$(PACKAGE)
\"
\
$(WARN_CFLAGS)
$(WARN_CFLAGS)
\
$(LOCK_CHECKING_CFLAGS)
confdir
=
$(sysconfdir)
/libvirt/
confdir
=
$(sysconfdir)
/libvirt/
conf_DATA
=
qemu.conf
conf_DATA
=
qemu.conf
...
@@ -662,5 +663,5 @@ if WITH_NETWORK
...
@@ -662,5 +663,5 @@ if WITH_NETWORK
endif
endif
CLEANFILES
=
*
.gcov .libs/
*
.gcda .libs/
*
.gcno
*
.gcno
*
.gcda
CLEANFILES
=
*
.gcov .libs/
*
.gcda .libs/
*
.gcno
*
.gcno
*
.gcda
*
.i
*
.s
DISTCLEANFILES
=
$(BUILT_SOURCES)
DISTCLEANFILES
=
$(BUILT_SOURCES)
tests/.cvsignore
浏览文件 @
6962a2dd
...
@@ -20,3 +20,7 @@ eventtest
...
@@ -20,3 +20,7 @@ eventtest
*.gcda
*.gcda
*.gcno
*.gcno
*.exe
*.exe
object-locking
object-locking.cmi
object-locking.cmx
object-locking-files.txt
tests/.gitignore
浏览文件 @
6962a2dd
...
@@ -20,3 +20,7 @@ eventtest
...
@@ -20,3 +20,7 @@ eventtest
*.gcda
*.gcda
*.gcno
*.gcno
*.exe
*.exe
object-locking
object-locking.cmi
object-locking.cmx
object-locking-files.txt
tests/Makefile.am
浏览文件 @
6962a2dd
...
@@ -68,6 +68,10 @@ if WITH_SECDRIVER_SELINUX
...
@@ -68,6 +68,10 @@ if WITH_SECDRIVER_SELINUX
noinst_PROGRAMS
+=
seclabeltest
noinst_PROGRAMS
+=
seclabeltest
endif
endif
if
WITH_CIL
noinst_PROGRAMS
+=
object-locking
endif
noinst_PROGRAMS
+=
nodedevxml2xmltest
noinst_PROGRAMS
+=
nodedevxml2xmltest
test_scripts
=
\
test_scripts
=
\
...
@@ -234,4 +238,25 @@ eventtest_SOURCES = \
...
@@ -234,4 +238,25 @@ eventtest_SOURCES = \
eventtest_LDADD
=
-lrt
$(LDADDS)
eventtest_LDADD
=
-lrt
$(LDADDS)
endif
endif
CLEANFILES
=
*
.cov
*
.gcov .libs/
*
.gcda .libs/
*
.gcno
*
.gcno
*
.gcda
if
WITH_CIL
CILOPTFLAGS
=
CILOPTINCS
=
CILOPTPACKAGES
=
-package
unix,str,cil
CILOPTLIBS
=
-linkpkg
object_locking_SOURCES
=
object-locking.ml
%.cmx
:
%.ml
ocamlfind ocamlopt
$(CILOPTFLAGS)
$(CILOPTINCS)
$(CILOPTPACKAGES)
-c
$<
object-locking
:
object-locking.cmx object-locking-files.txt
ocamlfind ocamlopt
$(CILOPTFLAGS)
$(CILOPTINCS)
$(CILOPTPACKAGES)
$(CILOPTLIBS)
$<
-o
$@
object-locking-files.txt
:
find
$(top_builddir)
/src/
-name
'*.i'
>
$@
else
EXTRA_DIST
+=
object-locking.ml
endif
CLEANFILES
=
*
.cov
*
.gcov .libs/
*
.gcda .libs/
*
.gcno
*
.gcno
*
.gcda object-locking-files.txt
tests/object-locking.ml
0 → 100644
浏览文件 @
6962a2dd
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录