]> granicus.if.org Git - strace/commit
tests: introduce libtests
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 2 Jan 2016 12:05:14 +0000 (12:05 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 5 Jan 2016 23:17:07 +0000 (23:17 +0000)
commit87e6b230fff800eb768b68b2e5173ebbe83fd3ef
treecdbdd5bdb50257d30b9863a2f425ecae601b9ec9
parent10eab9db854ddd285da0a1c5218207aab18bae68
tests: introduce libtests

Introduce tests/libtests.a with common functions for use in tests.

* tests/tests.h: New file.
* tests/error_msg.c: Likewise.
* tests/tail_alloc.c: Likewise.
* tests/get_page_size.c: Likewise.
* tests/Makefile.am (libtests_a_SOURCES, libtests_a_CPPFLAGS,
check_LIBRARIES, LDADD): New variables.
(clock_xettime_LDADD, filter_unavailable_LDADD, mq_LDADD,
pc_LDADD, times_LDADD): Add $(LDADD).
* tests/.gitignore: Add libtests.a.
tests/.gitignore
tests/Makefile.am
tests/error_msg.c [new file with mode: 0644]
tests/get_page_size.c [new file with mode: 0644]
tests/tail_alloc.c [new file with mode: 0644]
tests/tests.h [new file with mode: 0644]