Tim-Philipp Müller
207c447a40
Release 1.14.0
2018-03-19 20:29:08 +00:00
Thibault Saunier
769a9f72e2
validate: Fix the way we set the testsuite version
...
The testuite version should be 'master' during development
and the version number on releases, during the pre-release
cycle, there is no nano version, thus our detection handling
was mistaking.
2018-03-13 21:14:56 -03:00
Tim-Philipp Müller
e158fc6bd1
meson: update version
2018-03-13 22:20:52 +00:00
Tim-Philipp Müller
8e82a9dd43
Release 1.13.91
2018-03-13 19:30:44 +00:00
Tim-Philipp Müller
34d56abedd
validate: GST_EXPORT -> GST_VALIDATE_API
...
We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.
2018-03-13 14:00:01 +00:00
Xabier Rodriguez Calvar
8db603f8c8
debug-viewer: solved crash when maximum freq sentinel is 0
...
https://bugzilla.gnome.org/show_bug.cgi?id=794282
2018-03-13 10:21:36 -03:00
Thibault Saunier
70dcd99599
debug-viewer: Fix copying current line
2018-03-12 12:11:18 -03:00
Thibault Saunier
2028291219
debug-viewer: Add an appdata file
2018-03-12 11:27:18 -03:00
Tim-Philipp Müller
da907da8e4
Release 1.13.90
2018-03-03 22:54:59 +00:00
Mathieu Duponchelle
9a7591397a
meson: enable more warnings
2018-03-01 18:50:22 +01:00
Xabier Rodriguez Calvar
831a70bf9a
debug-viewer: fix names of actions/functions
...
https://bugzilla.gnome.org/show_bug.cgi?id=793241
2018-02-22 21:48:59 -05:00
Xabier Rodriguez Calvar
07cd72be78
debug-viewer: Added filter for threads
...
https://bugzilla.gnome.org/show_bug.cgi?id=793241
2018-02-22 21:48:58 -05:00
Xabier Rodriguez Calvar
8c93cc156f
debug-viewer: Added filter for function
...
https://bugzilla.gnome.org/show_bug.cgi?id=793241
2018-02-22 21:48:58 -05:00
Tim-Philipp Müller
d8f7969e41
meson: simplify GST_DISABLE_GST_DEBUG check and don't use add_global_*
...
add_global_arguments() can't be used in subprojects. It's
entirely possible that devtools is a subproject but gstreamer
is picked up from an installed location, so we should
really use add_project_arguments() in both cases.
2018-02-21 19:50:33 +00:00
Tim-Philipp Müller
9fdfb2d7b7
validate: tools: fix build dependencies for validate-rtsp-server
...
In file included from ../subprojects/gst-devtools/validate/tools/gst-validate-rtsp-server.c:21:0:
.../gst/gst.h:31:10: fatal error: gst/gstenumtypes.h: No such file or directory
2018-02-19 12:02:04 +00:00
Sebastian Dröge
0b9218f23f
validategtk: Stop using deprecated keymap API
...
gstvalidategtk.c:184:7: error: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Werror=deprecated-declarations]
gdk_keymap_get_entries_for_keyval (gdk_keymap_get_default (),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-02-18 12:21:34 +02:00
Xabier Rodriguez Calvar
47415e50e1
debug-viewer: Fixed C++ destructors detection
...
https://bugzilla.gnome.org/show_bug.cgi?id=793447
2018-02-16 13:12:42 +00:00
Tim-Philipp Müller
32d146b7de
Fix versions
2018-02-15 21:04:21 +00:00
Tim-Philipp Müller
41abaf99a9
Back to development
2018-02-15 19:44:37 +00:00
Tim-Philipp Müller
dab15df5eb
Release 1.13.1
2018-02-15 18:28:13 +00:00
Tim-Philipp Müller
4906612269
validate: dist enum types templates
2018-02-15 18:28:13 +00:00
Xabier Rodriguez Calvar
50db93006e
debug-viewer: Fix C++ detection of lambdas as function
...
https://bugzilla.gnome.org/show_bug.cgi?id=793422
2018-02-14 00:40:07 +00:00
Edward Hervey
55274bc89f
validate-pad-monitor: Use GST_SEQNUM_INVALID
...
Instead of 0 (which is valid)
2018-02-10 14:20:44 +01:00
Olivier Crête
0aea5f29e3
debug-viewer; Store thread as long instead of int
...
On 64-bit platforms, the thread id can be over 2^32 so use a long
to handle it.
2018-02-08 08:20:55 -07:00
Wonchul Lee
0235ad6d03
tools: gst-validate-images-check: Fix typo
...
https://bugzilla.gnome.org/show_bug.cgi?id=792035
2018-01-31 17:40:56 +00:00
Tim-Philipp Müller
3bc6d34859
meson: use -fno-strict-aliasing where supported
...
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30 20:38:15 +00:00
Edward Hervey
d71d28523d
validate/baseclasses: Release un-needed data when test ends
...
This was keeping around 500-700kB of data for each test, which was
gradually raising memory usage of a full run by 100MB+
The reports are definitely not needed, and we only need to keep
information from the subprocess env variable that we might need
later on for final reporting
2017-12-18 10:51:05 +01:00
Edward Hervey
cb04515cbd
validate/baseclasses: Don't leak several hundred MB of XML
...
The xml-based MediaDescriptor were keeping open the XML file and the
associated ElementTree structures, resulting in memory usage of several
hundred megabytes.
Instead cache the information we need immediately and release the
XML structure
2017-12-18 09:48:21 +01:00
Nicolas Dufresne
aa8e27f2a3
meson: Add missing force_rtsp2 scenario
...
Without this file, gst-validate installed using meson will fail all
RTSP2 tests
2017-12-17 16:22:51 -05:00
Edward Hervey
01a54641f9
validate: Remove protocol-specific timeouts
...
Since we now check position/status of pipeline at regular intevals,
we no longer need to impose a different timeout based on the
protocol used.
Avoids having 4min long timeouts for no reason (30s is enough)
2017-12-03 12:23:51 +01:00
Edward Hervey
92285ef261
validate: Use a single TCPServer for subprocess communication
...
Instead of creating a separate TCPServer for each test, just create
one which handles all connections in a threaded fashion.
Shaves off ~500ms per test
https://bugzilla.gnome.org/show_bug.cgi?id=791159
2017-12-03 12:23:29 +01:00
Edward Hervey
58e62f651c
validate-launcher: Allow running tests out-of-order
...
When the --shuffle option is used, the tests will be run out of order.
This optimizes CPU utilization since it allows running synchronized
and unsynchronized tests at the same.
2017-12-03 11:42:18 +01:00
Edward Hervey
1a95559045
validate: Reduce time waiting for subprocess to stop
...
stopping the subprocess is done from the main thread, this would
throttle starting/stopping any tests by one second.
Start with 50ms, and gradually increase the wait between iterations
2017-12-03 11:38:08 +01:00
Edward Hervey
65e2c1567a
gstvalidate: Lower timeout to check for rtsp-server to be up
...
Check every 100ms, avoids throttling all rtsp tests by 500ms
2017-12-03 11:38:08 +01:00
Thibault Saunier
f16b900643
validate:launcher: Launch tests in _TestsLauncher
not in TestsManagaer
...
So that Test from several TestManager can run in parallel and thus avoid
waiting for tests from one TestManager to run the following one.,
Also by design TestsLauncher should always have been the responsible for
... launching tests.
2017-12-02 09:42:19 -03:00
Edward Hervey
9acfa7fe4b
validate: Don't leak strings
...
We only use them in the error/debug case anyway
2017-11-25 13:10:41 +01:00
Edward Hervey
c33b2e240c
validate-report: Plug leaks
...
The trace was never freed, nor were the output of g_str_split
2017-11-25 12:46:05 +01:00
Edward Hervey
b5bb7d7016
validate-scenario: Don't assume element have factories
...
Some elements might not originate from factories (like custom/internal
elements).
Avoids dereferencing a NULL pointer
2017-11-23 12:27:11 +01:00
Edward Hervey
ff6055b195
validate-scenario: Handle non-relative switch
...
Make sure we stay within the number of present streams (and avoid
out-of-bound read).
CID #1415470
2017-11-22 16:37:44 +01:00
Edward Hervey
81c3ab0b12
validate-scenario: Handle switching stream of type not present
...
Unlikely to happen, but at least don't end up doing unsafe calculation
with n == 0 afterwards
CID #1415453
2017-11-22 16:37:44 +01:00
Nirbheek Chauhan
aa7f753f8a
meson: Always require the latest gst-rtsp-server
...
In the worst case, when building with gst-uninstalled, we will try to
link against an older gst-rtsp-server provided by the system. Found by
philn.
2017-11-12 20:09:53 +05:30
Edward Hervey
9658e12086
validate: Call g-ir-scanner with the same toolchain as the rest
2017-11-08 17:22:47 +01:00
Edward Hervey
2eb3df74b5
validate-analyze: Update for xml format changes
2017-10-27 10:00:07 +02:00
Thibault Saunier
4fac7bf9fd
validate: launcher: Run rtsp tests against both V1 and V2
...
https://bugzilla.gnome.org/show_bug.cgi?id=781446
2017-09-22 16:31:56 -03:00
Thibault Saunier
e9862b9fda
validate:launcher: Allow disabling using the number of failed tests as exitcode
...
This is usefull on CI servers where the test results will be inspected
and the status of the build built from it.
2017-09-06 16:38:39 -03:00
Jimmy Ohn
bd0e8e410e
validate: launcher: Modify the order of the parser argument
...
Modify the order of the parser argument before setting dir_group
https://bugzilla.gnome.org/show_bug.cgi?id=786715
2017-08-28 17:01:39 -03:00
Thibault Saunier
4dc95f0fc2
launcher: Automatically disable output coloration if not supported
2017-08-26 10:52:25 -03:00
Thibault Saunier
598128fc0c
meson: Fix the way we set the testsuite version
2017-08-26 09:28:51 -03:00
Thibault Saunier
2c6c25d4bf
validate:launcher: Use the number of failed test as exit code
...
We used to always return 0, which was not right!
2017-08-18 11:37:28 -03:00
Thibault Saunier
cb99482b9a
launcher: Avoid exceptions when inspecting renders files
...
We were a bit to strict on the Exception types which lead to
the launcher failling itself when it shouldn't
2017-08-14 16:57:50 -03:00