<div align="center">
# Check
[![Linux Build Status](https://github.com/libcheck/check/workflows/linux/badge.svg)](https://github.com/libcheck/check/actions?query=workflow%3Alinux)
[![OSX Build Status](https://github.com/libcheck/check/workflows/osx/badge.svg)](https://github.com/libcheck/check/actions?query=workflow%3Aosx)
[![Windows Build Status](https://github.com/libcheck/check/workflows/windows/badge.svg)](https://github.com/libcheck/check/actions?query=workflow%3Awindows)
</div>
## Table of Contents
* [About](#about)
* [Installing](#installing)
* [Linking](#linking)
* [Packaging](#packaging)
## About
Check is a unit testing framework for C. It features a simple interface
for defining unit tests, putting little in the way of the
developer. Tests are run in a separate address space, so Check can
catch both assertion failures and code errors that cause segmentation
faults or other signals. The output from unit tests can be used within
source code editors and IDEs.
See https://libcheck.github.io/check for more information, including a
tutorial. The tutorial is also available as `info check`.
## Installing
Check has the following dependencies:
* [automake](https://www.gnu.org/software/automake/)-1.9.6 (1.11.3 on OS X if you are using /usr/bin/ar)
* [autoconf](https://www.gnu.org/software/autoconf/)-2.59
* [libtool](https://www.gnu.org/software/libtool/)-1.5.22
* [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/)-0.20
* [texinfo](https://www.gnu.org/software/texinfo/)-4.7 (for documentation)
* tetex-bin (or any texinfo-compatible TeX installation, for documentation)
* POSIX [sed](https://en.wikipedia.org/wiki/Sed)
The versions specified may be higher than those actually needed.
### autoconf
$ autoreconf --install
$ ./configure
$ make
$ make check
$ make install
$ sudo ldconfig
in this directory to set everything up. autoreconf calls all of the
necessary tools for you, like autoconf, automake, autoheader, etc. If
you ever change something during development, run autoreconf again
(without --install), and it will perform the minimum set of actions
necessary. Check is installed to `/usr/local/lib` by default. ldconfig rebuilds
the linker cache so that newly installed library file is included in the cache.
### cmake
$ mkdir build
$ cd build
$ cmake ../
$ make
$ CTEST_OUTPUT_ON_FAILURE=1 make test
## Linking
Check uses variadic macros in check.h, and the strict C90 options for
gcc will complain about this. In gcc 4.0 and above you can turn this
off explicitly with `-Wno-variadic-macros`. In a future API it would be
nice to eliminate these macros.
## Packaging
Check is available packaged for the following operating systems:
<div align="center">
[![Packaging status](https://repology.org/badge/vertical-allrepos/check.svg)](https://repology.org/project/check/versions)
</div>
没有合适的资源?快使用搜索试试~ 我知道了~
A unit testing framework for C.zip
共264个文件
c:62个
in:39个
x_output:30个
需积分: 5 0 下载量 197 浏览量
2024-01-05
14:50:47
上传
评论
收藏 416KB ZIP 举报
温馨提示
A unit testing framework for C
资源推荐
资源详情
资源评论
收起资源包目录
A unit testing framework for C.zip (264个子文件)
checkmk.1 16KB
configure.ac 15KB
configure.ac 868B
Makefile.am 5KB
Makefile.am 3KB
Makefile.am 2KB
Makefile.am 1KB
Makefile.am 273B
Makefile.am 264B
Makefile.am 237B
Makefile.am 195B
Makefile.am 80B
Makefile.am 31B
Makefile.am 27B
Makefile.am 20B
AUTHORS 4KB
check_check_sub.c 75KB
snprintf.c 50KB
check_check_master.c 49KB
check_run.c 24KB
check_check_tags.c 19KB
check_check_fixture.c 16KB
check.c 14KB
check_pack.c 14KB
check_log.c 14KB
check_check_pack.c 12KB
check_msg.c 10KB
check_check_selective.c 9KB
check_check_log.c 9KB
ex_output.c 7KB
check_print.c 7KB
check_list.c 6KB
check_check_msg.c 5KB
check_check_fork.c 4KB
check_str.c 3KB
check_list.c 3KB
check_mem_leaks.c 3KB
clock_gettime.c 3KB
check_money.c 2KB
check_thread_stress.c 2KB
check_nofork_teardown.c 2KB
check_money.7.c 2KB
check_money.6.c 2KB
check_check_log_internal.c 2KB
check_set_max_msg_size.c 2KB
check_nofork.c 2KB
check_error.c 2KB
check_stress.c 2KB
check_check_exit.c 2KB
check_check_main.c 2KB
timer_settime.c 2KB
pthread_mutex.c 2KB
fpclassify.c 2KB
check_check_limit.c 2KB
check_money.3.c 2KB
getline.c 2KB
timer_delete.c 2KB
gettimeofday.c 1KB
check_check_export_main.c 1KB
realloc.c 1KB
money.6.c 1KB
money.c 1KB
money.5.c 1KB
malloc.c 1KB
timer_create.c 1KB
localtime_r.c 1KB
libcompat.c 1KB
money.4.c 1KB
check_money.2.c 1KB
money.3.c 1KB
main.c 1KB
strsignal.c 970B
alarm.c 947B
strdup.c 939B
check_money.1.c 862B
test_suite.c 848B
money.1.c 829B
tests.c 355B
ChangeLog 36KB
check_checkmk 3KB
FindCheck.cmake 2KB
CheckStructMember.cmake 1KB
CheckTypeExists.cmake 1KB
CheckHeaderDirent.cmake 1KB
BuildType.cmake 586B
cmd 77B
cmd 66B
cmd 15B
doxygen-devel.conf 74KB
doxygen.conf 74KB
COPYING 18KB
style.css 5KB
.editorconfig 242B
header_bg.gif 6KB
side_bg.gif 224B
menu_bg.gif 117B
tab_bg.gif 111B
.gitignore 1KB
libcompat.h 9KB
check_impl.h 4KB
共 264 条
- 1
- 2
- 3
资源评论
Lei宝啊
- 粉丝: 1979
- 资源: 1330
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 参考nuc-i9拓展板的驱动应用模板代码
- OpenHarmony下的minicom工具
- 通信拓扑图标,包括数通、接入网、核心网等图标
- 课设毕设基于SSM的贝儿米幼儿教育管理系统-LW+PPT+源码可运行.zip
- Scratch 手速判断游戏:反弹之神.sb3
- M2M开发套件程序 2024-5-16
- 课设毕设基于SSM的宜佰丰超市进销存管理系统-LW+PPT+源码可运行.zip
- 课设毕设基于SSM的医院远程诊断系统-LW+PPT+源码可运行.zip
- 编码解码,(UTF16+UTF32+UTF8+ANSI)获取文本文件编码类型易语言源码
- 课设毕设基于SSM的网络视频播放器-LW+PPT+源码可运行.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功