File: mtx-tests

package info (click to toggle)
gnulib 20250303-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 188,756 kB
  • sloc: ansic: 378,600; sh: 30,630; python: 8,358; cpp: 2,811; yacc: 1,846; perl: 920; makefile: 577; lisp: 328; sed: 11; java: 5
file content (22 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Files:
tests/test-mtx.c
tests/test-mtx-type.c
tests/atomic-int-isoc.h
tests/macros.h
m4/semaphore.m4

Depends-on:
thrd
stdint-h
random

configure.ac:
AC_CHECK_HEADERS_ONCE([semaphore.h])
AC_CHECK_DECLS_ONCE([alarm])
AC_REQUIRE([gl_SEMAPHORE])

Makefile.am:
TESTS += test-mtx test-mtx-type
check_PROGRAMS += test-mtx test-mtx-type
test_mtx_LDADD = $(LDADD) @LIBSTDTHREAD@ @LIBTHREAD@ @LIB_SEMAPHORE@
test_mtx_type_LDADD = $(LDADD) @LIBSTDTHREAD@