mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
check: update autotools and docs stuff for new check version
This commit is contained in:
parent
8e5f17d07f
commit
dd77e42e91
4 changed files with 33 additions and 3 deletions
|
@ -15,9 +15,26 @@ AC_SUBST(CHECK_MINOR_VERSION)
|
|||
AC_SUBST(CHECK_MICRO_VERSION)
|
||||
AC_SUBST(CHECK_VERSION)
|
||||
|
||||
# Checks for header files.
|
||||
dnl Checks for header files and declarations
|
||||
AC_CHECK_HEADERS([unistd.h sys/wait.h sys/time.h])
|
||||
|
||||
# Create _stdint.h in the top-level directory
|
||||
AC_CHECK_FUNCS([localtime_r])
|
||||
|
||||
|
||||
dnl Create _stdint.h in the top-level directory
|
||||
AX_CREATE_STDINT_H
|
||||
|
||||
dnl Disable subunit support for the time being
|
||||
enable_subunit=false
|
||||
|
||||
if test xfalse = x"$enable_subunit"; then
|
||||
ENABLE_SUBUNIT="0"
|
||||
else
|
||||
ENABLE_SUBUNIT="1"
|
||||
fi
|
||||
AC_SUBST(ENABLE_SUBUNIT)
|
||||
AC_DEFINE_UNQUOTED(ENABLE_SUBUNIT, $ENABLE_SUBUNIT, [Subunit protocol result output])
|
||||
|
||||
AM_CONDITIONAL(SUBUNIT, test x"$enable_subunit" != "xfalse")
|
||||
|
||||
])
|
||||
|
|
|
@ -532,6 +532,7 @@ fi
|
|||
AC_SUBST(GST_DISABLE_XML_DEFINE)
|
||||
|
||||
dnl building of unit test libraries
|
||||
dnl FIXME: disable gstcheck if we don't have pthread
|
||||
AC_ARG_ENABLE(check,
|
||||
AC_HELP_STRING([--disable-check], [disable building unit test libraries]),
|
||||
[
|
||||
|
|
|
@ -887,6 +887,7 @@ log_srunner_end
|
|||
log_srunner_start
|
||||
log_suite_end
|
||||
log_suite_start
|
||||
log_test_start
|
||||
log_test_end
|
||||
mark_point
|
||||
pack
|
||||
|
@ -907,6 +908,9 @@ srunner_open_lfile
|
|||
srunner_open_xmlfile
|
||||
srunner_register_lfun
|
||||
stdout_lfun
|
||||
subunit_lfun
|
||||
tcase_add_exit_test
|
||||
tcase_add_loop_exit_test
|
||||
tcase_add_loop_test
|
||||
tcase_add_loop_test_raise_signal
|
||||
tcase_add_test
|
||||
|
@ -915,6 +919,7 @@ teardown_messaging
|
|||
tr_create
|
||||
tr_fprint
|
||||
tr_reset
|
||||
tr_short_str
|
||||
tr_str
|
||||
tr_xmlprint
|
||||
upack
|
||||
|
|
|
@ -27,5 +27,12 @@ HFILES =\
|
|||
noinst_HEADERS = $(HFILES)
|
||||
|
||||
libcheckinternal_la_SOURCES = $(CFILES) $(HFILES)
|
||||
libcheckinternal_la_LIBADD =
|
||||
|
||||
# define HAVE_PTHREAD here as well so we keep changes to the code to a minimum
|
||||
if HAVE_PTHREAD_H
|
||||
libcheckinternal_la_CFLAGS = -D_GNU_SOURCE -DHAVE_PTHREAD
|
||||
libcheckinternal_la_LIBADD = -lpthread
|
||||
else
|
||||
libcheckinternal_la_CFLAGS = -D_GNU_SOURCE
|
||||
libcheckinternal_la_LIBADD =
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue