mirror of https://gerrit.osmocom.org/libosmocore
WIP: skip uring tests in debian packaging
Change-Id: I3176bb98873aa85ca8c7a7c5799f4760c322898b
This commit is contained in:
parent
d4ac9c6736
commit
7fde78366a
|
@ -282,6 +282,10 @@ AC_ARG_ENABLE([sctp-tests], [AS_HELP_STRING([--disable-sctp-tests], [Do not run
|
||||||
[ENABLE_SCTP_TESTS=$enableval], [ENABLE_SCTP_TESTS="yes"])
|
[ENABLE_SCTP_TESTS=$enableval], [ENABLE_SCTP_TESTS="yes"])
|
||||||
AM_CONDITIONAL(ENABLE_SCTP_TESTS, test x"$ENABLE_SCTP_TESTS" = x"yes")
|
AM_CONDITIONAL(ENABLE_SCTP_TESTS, test x"$ENABLE_SCTP_TESTS" = x"yes")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([uring-tests], [AS_HELP_STRING([--disable-uring-tests], [Do not run io_uring tests])],
|
||||||
|
[ENABLE_URING_TESTS=$enableval], [ENABLE_URING_TESTS="yes"])
|
||||||
|
AM_CONDITIONAL(ENABLE_URING_TESTS, test x"$ENABLE_URING_TESTS" = x"yes")
|
||||||
|
|
||||||
AC_ARG_ENABLE(plugin,
|
AC_ARG_ENABLE(plugin,
|
||||||
[AS_HELP_STRING(
|
[AS_HELP_STRING(
|
||||||
[--disable-plugin],
|
[--disable-plugin],
|
||||||
|
|
|
@ -30,6 +30,7 @@ override_dh_auto_configure:
|
||||||
set -x && \
|
set -x && \
|
||||||
CONFIGURE_FLAGS=" \
|
CONFIGURE_FLAGS=" \
|
||||||
--disable-sctp-tests \
|
--disable-sctp-tests \
|
||||||
|
--disable-uring-tests \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-systemd-logging \
|
--enable-systemd-logging \
|
||||||
"; \
|
"; \
|
||||||
|
|
|
@ -532,7 +532,7 @@ AT_CLEANUP
|
||||||
|
|
||||||
AT_SETUP([osmo_io (uring)])
|
AT_SETUP([osmo_io (uring)])
|
||||||
AT_KEYWORDS([osmo_io (uring)])
|
AT_KEYWORDS([osmo_io (uring)])
|
||||||
AT_SKIP_IF([ test "$ENABLE_URING" != "yes" ])
|
AT_SKIP_IF([ test "$ENABLE_URING" != "yes" || test "$ENABLE_URING_TESTS" != "yes" ])
|
||||||
cat $abs_srcdir/osmo_io/osmo_io_test.ok > expout
|
cat $abs_srcdir/osmo_io/osmo_io_test.ok > expout
|
||||||
cat $abs_srcdir/osmo_io/osmo_io_test.err > experr
|
cat $abs_srcdir/osmo_io/osmo_io_test.err > experr
|
||||||
AT_CHECK([LIBOSMO_IO_BACKEND=IO_URING $abs_top_builddir/tests/osmo_io/osmo_io_test], [0], [expout], [experr])
|
AT_CHECK([LIBOSMO_IO_BACKEND=IO_URING $abs_top_builddir/tests/osmo_io/osmo_io_test], [0], [expout], [experr])
|
||||||
|
|
Loading…
Reference in New Issue