Commit da61706c authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Increased test timeout to pass on slow systems

parent 61efa012
all: all:
tar xf gstreamer-1.16.2.tar.xz tar xf gstreamer-1.16.2.tar.xz
patch -Np1 -d gstreamer-1.16.2 < gstreamer-1.16.2-fix_test_timeout.patch
cd gstreamer-1.16.2 && mkdir build cd gstreamer-1.16.2 && mkdir build
cd gstreamer-1.16.2/build && meson --prefix=/usr -Dbuildtype=release -Dgst_debug=false -Dgtk_doc=disabled cd gstreamer-1.16.2/build && meson --prefix=/usr -Dbuildtype=release -Dgst_debug=false -Dgtk_doc=disabled
cd gstreamer-1.16.2/build && ninja cd gstreamer-1.16.2/build && ninja
......
diff -uNr gstreamer-1.16.2/common/check.mak gstreamer-1.16.2-fix_test_timeout/common/check.mak
--- gstreamer-1.16.2/common/check.mak 2019-04-19 18:46:18.000000000 +0930
+++ gstreamer-1.16.2-fix_test_timeout/common/check.mak 2022-04-30 02:06:39.853567894 +0930
@@ -12,7 +12,7 @@
endif
LOOPS ?= 10
-AM_TESTS_ENVIRONMENT = CK_DEFAULT_TIMEOUT=20
+AM_TESTS_ENVIRONMENT = CK_DEFAULT_TIMEOUT=60
# run any given test by running make test.check
# if the test fails, run it again at at least debug level 2
diff -uNr gstreamer-1.16.2/tests/check/Makefile.in gstreamer-1.16.2-fix_test_timeout/tests/check/Makefile.in
--- gstreamer-1.16.2/tests/check/Makefile.in 2019-12-03 21:22:28.000000000 +1030
+++ gstreamer-1.16.2-fix_test_timeout/tests/check/Makefile.in 2022-04-30 02:07:14.465688650 +0930
@@ -1579,7 +1579,7 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_TESTS_ENVIRONMENT = CK_DEFAULT_TIMEOUT=20 \
+AM_TESTS_ENVIRONMENT = CK_DEFAULT_TIMEOUT=60 \
GST_STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)" \
$(REGISTRY_ENVIRONMENT) \
GST_PLUGIN_SCANNER_1_0=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner \
diff -uNr gstreamer-1.16.2/tests/check/meson.build gstreamer-1.16.2-fix_test_timeout/tests/check/meson.build
--- gstreamer-1.16.2/tests/check/meson.build 2019-04-19 18:46:16.000000000 +0930
+++ gstreamer-1.16.2-fix_test_timeout/tests/check/meson.build 2022-04-30 02:07:07.158663157 +0930
@@ -156,7 +156,7 @@
env.set('GST_PLUGIN_PATH_1_0', meson.build_root())
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
env.set('GST_STATE_IGNORE_ELEMENTS', '')
- env.set('CK_DEFAULT_TIMEOUT', '20')
+ env.set('CK_DEFAULT_TIMEOUT', '60')
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name))
env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner')
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment