Thibault Saunier [Sun, 18 Mar 2018 13:38:42 +0000 (10:38 -0300)]
check: Use meson introspect to list meson tests
Tim-Philipp Müller [Tue, 20 Mar 2018 10:56:57 +0000 (10:56 +0000)]
Back to development
Tim-Philipp Müller [Mon, 19 Mar 2018 20:29:07 +0000 (20:29 +0000)]
Release 1.14.0
Thibault Saunier [Wed, 14 Mar 2018 00:14:51 +0000 (21:14 -0300)]
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.
Tim-Philipp Müller [Tue, 13 Mar 2018 22:20:52 +0000 (22:20 +0000)]
meson: update version
Tim-Philipp Müller [Tue, 13 Mar 2018 19:30:43 +0000 (19:30 +0000)]
Release 1.13.91
Tim-Philipp Müller [Tue, 13 Mar 2018 13:58:07 +0000 (13:58 +0000)]
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.
Xabier Rodriguez Calvar [Tue, 13 Mar 2018 12:48:00 +0000 (13:48 +0100)]
debug-viewer: solved crash when maximum freq sentinel is 0
https://bugzilla.gnome.org/show_bug.cgi?id=794282
Thibault Saunier [Mon, 12 Mar 2018 15:11:18 +0000 (12:11 -0300)]
debug-viewer: Fix copying current line
Thibault Saunier [Mon, 12 Mar 2018 14:18:02 +0000 (11:18 -0300)]
debug-viewer: Add an appdata file
Tim-Philipp Müller [Sat, 3 Mar 2018 22:54:57 +0000 (22:54 +0000)]
Release 1.13.90
Mathieu Duponchelle [Thu, 1 Mar 2018 17:49:21 +0000 (18:49 +0100)]
meson: enable more warnings
Xabier Rodriguez Calvar [Wed, 7 Feb 2018 09:13:44 +0000 (10:13 +0100)]
debug-viewer: fix names of actions/functions
https://bugzilla.gnome.org/show_bug.cgi?id=793241
Xabier Rodriguez Calvar [Wed, 7 Feb 2018 09:05:35 +0000 (10:05 +0100)]
debug-viewer: Added filter for threads
https://bugzilla.gnome.org/show_bug.cgi?id=793241
Xabier Rodriguez Calvar [Wed, 7 Feb 2018 08:52:26 +0000 (09:52 +0100)]
debug-viewer: Added filter for function
https://bugzilla.gnome.org/show_bug.cgi?id=793241
Tim-Philipp Müller [Wed, 21 Feb 2018 19:50:33 +0000 (19:50 +0000)]
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.
Tim-Philipp Müller [Mon, 19 Feb 2018 12:02:04 +0000 (12:02 +0000)]
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
Sebastian Dröge [Sun, 18 Feb 2018 10:21:34 +0000 (12:21 +0200)]
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 (),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xabier Rodriguez Calvar [Wed, 14 Feb 2018 12:30:41 +0000 (13:30 +0100)]
debug-viewer: Fixed C++ destructors detection
https://bugzilla.gnome.org/show_bug.cgi?id=793447
Tim-Philipp Müller [Thu, 15 Feb 2018 21:00:57 +0000 (21:00 +0000)]
Fix versions
Tim-Philipp Müller [Thu, 15 Feb 2018 19:44:37 +0000 (19:44 +0000)]
Back to development
Tim-Philipp Müller [Thu, 15 Feb 2018 17:30:08 +0000 (17:30 +0000)]
Release 1.13.1
Tim-Philipp Müller [Thu, 15 Feb 2018 18:27:37 +0000 (18:27 +0000)]
validate: dist enum types templates
Xabier Rodriguez Calvar [Tue, 13 Feb 2018 13:02:39 +0000 (14:02 +0100)]
debug-viewer: Fix C++ detection of lambdas as function
https://bugzilla.gnome.org/show_bug.cgi?id=793422
Edward Hervey [Sat, 10 Feb 2018 13:20:44 +0000 (14:20 +0100)]
validate-pad-monitor: Use GST_SEQNUM_INVALID
Instead of 0 (which is valid)
Olivier Crête [Thu, 8 Feb 2018 15:20:55 +0000 (08:20 -0700)]
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.
Wonchul Lee [Fri, 29 Dec 2017 02:25:05 +0000 (11:25 +0900)]
tools: gst-validate-images-check: Fix typo
https://bugzilla.gnome.org/show_bug.cgi?id=792035
Tim-Philipp Müller [Tue, 30 Jan 2018 20:36:00 +0000 (20:36 +0000)]
meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
Edward Hervey [Mon, 18 Dec 2017 09:51:05 +0000 (10:51 +0100)]
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
Edward Hervey [Mon, 18 Dec 2017 08:48:21 +0000 (09:48 +0100)]
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
Nicolas Dufresne [Sun, 17 Dec 2017 21:22:51 +0000 (16:22 -0500)]
meson: Add missing force_rtsp2 scenario
Without this file, gst-validate installed using meson will fail all
RTSP2 tests
Edward Hervey [Sun, 3 Dec 2017 11:23:51 +0000 (12:23 +0100)]
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)
Edward Hervey [Sun, 3 Dec 2017 09:42:49 +0000 (10:42 +0100)]
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
Edward Hervey [Sun, 3 Dec 2017 09:49:22 +0000 (10:49 +0100)]
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.
Edward Hervey [Sun, 3 Dec 2017 10:07:00 +0000 (11:07 +0100)]
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
Edward Hervey [Sun, 3 Dec 2017 10:05:40 +0000 (11:05 +0100)]
gstvalidate: Lower timeout to check for rtsp-server to be up
Check every 100ms, avoids throttling all rtsp tests by 500ms
Thibault Saunier [Sat, 2 Dec 2017 12:36:27 +0000 (09:36 -0300)]
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.
Edward Hervey [Sat, 25 Nov 2017 12:10:41 +0000 (13:10 +0100)]
validate: Don't leak strings
We only use them in the error/debug case anyway
Edward Hervey [Sat, 25 Nov 2017 11:46:05 +0000 (12:46 +0100)]
validate-report: Plug leaks
The trace was never freed, nor were the output of g_str_split
Edward Hervey [Thu, 23 Nov 2017 11:27:11 +0000 (12:27 +0100)]
validate-scenario: Don't assume element have factories
Some elements might not originate from factories (like custom/internal
elements).
Avoids dereferencing a NULL pointer
Edward Hervey [Wed, 22 Nov 2017 15:35:46 +0000 (16:35 +0100)]
validate-scenario: Handle non-relative switch
Make sure we stay within the number of present streams (and avoid
out-of-bound read).
CID #1415470
Edward Hervey [Wed, 22 Nov 2017 15:34:42 +0000 (16:34 +0100)]
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
Nirbheek Chauhan [Sun, 12 Nov 2017 14:38:39 +0000 (20:08 +0530)]
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.
Edward Hervey [Wed, 8 Nov 2017 16:22:47 +0000 (17:22 +0100)]
validate: Call g-ir-scanner with the same toolchain as the rest
Edward Hervey [Fri, 27 Oct 2017 07:59:53 +0000 (09:59 +0200)]
validate-analyze: Update for xml format changes
Thibault Saunier [Mon, 3 Jul 2017 20:36:32 +0000 (16:36 -0400)]
validate: launcher: Run rtsp tests against both V1 and V2
https://bugzilla.gnome.org/show_bug.cgi?id=781446
Thibault Saunier [Wed, 6 Sep 2017 19:35:25 +0000 (16:35 -0300)]
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.
Jimmy Ohn [Thu, 24 Aug 2017 05:17:08 +0000 (14:17 +0900)]
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
Thibault Saunier [Sat, 26 Aug 2017 13:50:44 +0000 (10:50 -0300)]
launcher: Automatically disable output coloration if not supported
Thibault Saunier [Sat, 26 Aug 2017 12:10:40 +0000 (09:10 -0300)]
meson: Fix the way we set the testsuite version
Thibault Saunier [Fri, 18 Aug 2017 14:37:28 +0000 (11:37 -0300)]
validate:launcher: Use the number of failed test as exit code
We used to always return 0, which was not right!
Thibault Saunier [Mon, 14 Aug 2017 19:39:56 +0000 (16:39 -0300)]
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
Tim-Philipp Müller [Sat, 12 Aug 2017 11:08:09 +0000 (12:08 +0100)]
meson: hide symbols by default unless explicitly exported
Tim-Philipp Müller [Sat, 12 Aug 2017 11:04:42 +0000 (12:04 +0100)]
validate: hide some private symbols
Thibault Saunier [Fri, 11 Aug 2017 01:43:54 +0000 (21:43 -0400)]
validate: Plug a potential leak when retrieving peer pad
Thibault Saunier [Thu, 10 Aug 2017 23:25:09 +0000 (19:25 -0400)]
validate: Fix going over ghostpads/proxypads
Tim-Philipp Müller [Thu, 10 Aug 2017 13:35:09 +0000 (14:35 +0100)]
meson: fix a few meson warnings
WARNING: The variable(s) 'DATADIR', 'LIBDIR' in the input file
'subprojects/gst-devtools/validate/launcher/config.py.in' are not
present in the given configuration data
WARNING: Passed invalid keyword argument "scanobj_args". This will
become a hard error in the future.
WARNING: Keyword argument "install" defined multiple times. This
will be a an error in future Meson releases.
Thibault Saunier [Mon, 7 Aug 2017 20:00:53 +0000 (16:00 -0400)]
validate:win32: Update .def file.
Thibault Saunier [Mon, 7 Aug 2017 19:56:21 +0000 (15:56 -0400)]
validate: Mark symbols explicitly for export with GST_EXPORT
With an exception:
* gst_validate_monitor_setup
which was never declared in headers and should always have been static.
Thibault Saunier [Wed, 26 Jul 2017 21:22:33 +0000 (17:22 -0400)]
validate: Fix building the tracer
It fails on some platforms, I guess this is the reason
Thibault Saunier [Wed, 26 Jul 2017 20:15:16 +0000 (16:15 -0400)]
validate: Also mkenums with autotools
And fix the build with stricter gcc arguments.
Thibault Saunier [Tue, 25 Jul 2017 15:23:35 +0000 (11:23 -0400)]
validate: Add a way to print information about pipeline status
Similare to what is done with gst-launch.
And finally generate GTypes for our flags and enums.
Edward Hervey [Wed, 26 Jul 2017 13:22:49 +0000 (15:22 +0200)]
validate-scenario: Fix NULL pointer usage
for good this time ...
CID #1415570
Edward Hervey [Wed, 26 Jul 2017 13:18:57 +0000 (15:18 +0200)]
validate-report: Fix a leak in error cases
CID #1415494
Edward Hervey [Tue, 25 Jul 2017 07:55:02 +0000 (09:55 +0200)]
validate: Re-enable mxf op2b tests
https://bugzilla.gnome.org/show_bug.cgi?id=785119
Thibault Saunier [Fri, 21 Jul 2017 14:30:37 +0000 (10:30 -0400)]
wind32: Update .def file.
Edward Hervey [Thu, 20 Jul 2017 12:21:59 +0000 (14:21 +0200)]
validate-scenario: Protect against priv NULL usage
CID #1415570
Thibault Saunier [Wed, 19 Jul 2017 16:16:53 +0000 (12:16 -0400)]
validate: Do not install now removed setup_sink_props_max_lateness.scenario file
Thibault Saunier [Wed, 19 Jul 2017 15:49:09 +0000 (11:49 -0400)]
validate:launcher:check: Make sure to register tests from the testsuite
Instead of having them listed from the app manager. This is needed
to avoid backtrace as tests now have to be register when setting up
the testsuite.
Thibault Saunier [Wed, 19 Jul 2017 15:27:13 +0000 (11:27 -0400)]
validate: Factor out a method to set properties on elements in utils
Make sure to use it where appropriate and add some logging when
setting an object property from an action.
And use the valgrind.conf to set all the properties instead of having
a mixture of a config scenario and the config file (making sure the
max-lateness is set on any sink)
Thibault Saunier [Wed, 19 Jul 2017 14:52:40 +0000 (10:52 -0400)]
validate:scenario: Allow not config action to be executed from config files
When those are special cased to support that, such as the `set-property`
action.
This special handling was added in
4927c657107dd23405456a703bb23173ab60f27d
validate: disable QOS features when running with valgrind
before we started to support executing arbitrary config action from
configuration files.
Thibault Saunier [Wed, 19 Jul 2017 14:17:25 +0000 (10:17 -0400)]
validate: scenario: Fix running config action from the config file
Edward Hervey [Wed, 19 Jul 2017 13:47:28 +0000 (15:47 +0200)]
validate: Blacklist op2b mxf files
See https://bugzilla.gnome.org/show_bug.cgi?id=785119
Edward Hervey [Wed, 19 Jul 2017 09:02:44 +0000 (11:02 +0200)]
validate: Cast GList data content before usage
Apart from code readability, it allows compilers to detect wrong usages,
such as the call to gst_validate_action_new() which was using the wrong
argument
Thibault Saunier [Tue, 18 Jul 2017 16:09:13 +0000 (12:09 -0400)]
validate:launcher: Error out if no testsuite could be loaded
Thibault Saunier [Thu, 13 Jul 2017 20:43:32 +0000 (16:43 -0400)]
validate: launcher: Namespace test name with the testsuite name
Also allowing users to pass test names directly
Thibault Saunier [Fri, 14 Jul 2017 00:17:51 +0000 (20:17 -0400)]
validate: launcher: Properly use TestsLauncher.list_test to load tests
Otherwise we might skip check_defined_tests.
Thibault Saunier [Tue, 18 Jul 2017 14:47:00 +0000 (10:47 -0400)]
validate: Remove some dead code
CID 1415457
Thibault Saunier [Tue, 18 Jul 2017 14:45:29 +0000 (10:45 -0400)]
validate: Plug a minor string leak
CID 1415459
Thibault Saunier [Tue, 18 Jul 2017 14:42:00 +0000 (10:42 -0400)]
validate: Don't create scenario on a monitor which has no target
Not very probable but avoids a potential NULL pointer dereferencing.
CID 1415460
Thibault Saunier [Tue, 18 Jul 2017 14:36:34 +0000 (10:36 -0400)]
validate: Always only use the first description in scenarios
Also pluging a leak of the descrption copied structure
CID 1415463
Thibault Saunier [Tue, 18 Jul 2017 14:27:49 +0000 (10:27 -0400)]
validate: ssim: Do not compare unsigned to < 0
CID 1415473
Thibault Saunier [Tue, 18 Jul 2017 14:23:31 +0000 (10:23 -0400)]
validate: Plug a string leak
CID 1415475
Thibault Saunier [Tue, 18 Jul 2017 14:19:23 +0000 (10:19 -0400)]
validate:ssim: Let user know when no file have been compared
Fixing a possible division by zero issue.
CID 1415482
Thibault Saunier [Tue, 18 Jul 2017 14:16:07 +0000 (10:16 -0400)]
validate: Add missing break statement
CID 1415485
Thibault Saunier [Tue, 18 Jul 2017 14:14:59 +0000 (10:14 -0400)]
Check g_file_set_contents() return value
CID 1415486
Thibault Saunier [Tue, 18 Jul 2017 14:12:07 +0000 (10:12 -0400)]
validate: Plug leak of copy of a va_list
CID 1415490
Thibault Saunier [Tue, 18 Jul 2017 14:07:34 +0000 (10:07 -0400)]
validate: Do not check NULL pointer uselessly
CID 141593
Thibault Saunier [Tue, 18 Jul 2017 14:05:02 +0000 (10:05 -0400)]
validate: Plug minor leak in issue creation error path
CID 1415494
Thibault Saunier [Tue, 18 Jul 2017 14:00:03 +0000 (10:00 -0400)]
validate: Remove some dead code
Next will never be NULL as `done` is always set to TRUE when next is
set.
CID 1415503
Thibault Saunier [Tue, 18 Jul 2017 13:51:16 +0000 (09:51 -0400)]
validate: monitor: Add missing break; statement
Fixes CID 1415500
Edward Hervey [Tue, 18 Jul 2017 13:50:35 +0000 (15:50 +0200)]
validate-scenario: Fix wrong return value
We were always returning ok ...
CID #1415484
Edward Hervey [Tue, 18 Jul 2017 13:48:01 +0000 (15:48 +0200)]
validate-scenario: Check g_file_set_contents() return value
CID #1415487
Edward Hervey [Tue, 18 Jul 2017 13:45:13 +0000 (15:45 +0200)]
validate-scenario: Fix copy/paste error
CID #1415502
Edward Hervey [Tue, 18 Jul 2017 13:43:26 +0000 (15:43 +0200)]
validate-scenario: Fix string usage
Use the string representation of the index if it *IS* present (and
not the opposite).
CID #1415506
Edward Hervey [Tue, 18 Jul 2017 13:38:04 +0000 (15:38 +0200)]
validate-utils: Add NULL check
Unlikely to be triggered. And fix typo at the same time
CID #1415464
Sebastian Dröge [Fri, 14 Jul 2017 07:36:49 +0000 (10:36 +0300)]
validate: Un-blacklist scrub_forward_seeking.op2b-mpeg2-wave_hd_mxf
It works now after various mxfdemux changes.
https://bugzilla.gnome.org/show_bug.cgi?id=764025
Edward Hervey [Thu, 13 Jul 2017 06:45:28 +0000 (08:45 +0200)]
gstvalidate: Re-allow tests that should be fixed
Edward Hervey [Wed, 12 Jul 2017 12:46:36 +0000 (14:46 +0200)]
check: Remove dead assignments
Thibault Saunier [Tue, 11 Jul 2017 14:11:33 +0000 (10:11 -0400)]
validate: launcher: Add some missing env variables in command to launch test