Stefan Sauer
3f06e2baaa
debug-viewer: small code cleanups
...
Inline a few statements. Remove unused variables.
2016-09-30 22:34:25 +02:00
Stefan Sauer
0e4d6664d4
debug-viewer: add a few doc strings
2016-09-30 22:34:25 +02:00
Thibault Saunier
b84d4490f7
meson: Setup pre commit hook and fix getpluginsdir for standalone case
2016-09-30 13:31:16 -03:00
Tim-Philipp Müller
5dd3f9df20
meson: update version
2016-09-30 14:57:49 +01:00
Sebastian Dröge
5b49fdc000
Release 1.9.90
2016-09-30 13:06:16 +03:00
Thibault Saunier
394732e509
meson: Fix gtkdoc using new meson features
2016-09-28 20:36:46 -03:00
Stefan Sauer
9e4e2b5542
debug-viewer: initialize all features from tuples
...
Also add a first doc string about the plugin initialisation.
2016-09-28 21:19:29 +02:00
Stefan Sauer
d783c9cf36
formatting: run autopep8 over all files
...
We have a commit hook on the repo. Get all files to match the pep8 guidelines.
2016-09-28 20:38:55 +02:00
Stefan Sauer
3da48e7d61
debug-viewer: cleanup imports in plugins
...
Don't use * imports. Don't rely on package level imports.
2016-09-28 20:34:53 +02:00
Thibault Saunier
032fccd7af
meson: Fix installing configured files
2016-09-26 13:36:49 -03:00
Thibault Saunier
41b005963f
validate: Allow doting the pipeline on issue reporting
...
And let the user configure on what level of issues to do it
by setting the GST_VALIDATE_CONFIG env var.
Always dot on critical issues.
2016-09-26 13:36:49 -03:00
Thibault Saunier
1fb0f02d6a
validate: Allow passing a GST_VALIDATE_CONFIG as a string
...
Instead of forcing user to put it in a file.
We are simply using the GstCaps synthax to parse it.
2016-09-26 13:36:48 -03:00
Thibault Saunier
e247122051
validate: Add a reference to the pipeline from each monitor
...
That will allow us to add more flexibility regarding the way
we report thing to the user and will allow us to properly make
reports per pipeline.
2016-09-26 13:36:48 -03:00
Thibault Saunier
41be7bb2a9
validate:launcher: Minor fix in returncode check
2016-09-26 13:36:48 -03:00
Thibault Saunier
2fae2b2342
validate: Always print trace for critical issues
...
And take into account issue details level to generate backtrace.
2016-09-26 13:36:48 -03:00
Thibault Saunier
64560aea32
validate: Add support for setting a report level for an issue type
...
Until now we could set report levels to the monitor, this adds support
for setting report level for the issue types too.
2016-09-26 13:36:48 -03:00
Reynaldo H. Verdejo Pinochet
80cc6f29ef
validate: transcoding: fix several error messages
...
No encoders found, no static src/sink pads found and keyunit and force-stop
error conditions.
2016-09-25 18:52:35 -07:00
Reynaldo H. Verdejo Pinochet
6a990a2a71
validate: fix grammar on subtitle-file action description
2016-09-25 18:03:45 -07:00
Thibault Saunier
a458dfadfb
validate: Dump the infos about NNEs if we can not properly determine the problem
...
It should anyway be pretty interesting pieces of information.
2016-09-22 16:11:09 -03:00
Javier Martinez Canillas
6110ecdc9b
validate: fix build warning in generate_unwind_trace()
...
The unw_word_t type has different sizes for 32-bit and 64-bit, so using the
%lx format specifier on a 32-bit CPU leads to the following compile warning:
CC libgstvalidate_1.0_la-gst-validate-report.lo
gst-validate-report.c: In function 'generate_unwind_trace':
gst-validate-report.c:137:36: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'unw_word_t {aka unsigned int}' [-Werror=format=]
g_string_append_printf (trace, "%s (0x%lx)\n", name, offset);
Cast to long so the %lx fomart specifier can be always used.
2016-09-22 12:54:57 -03:00
Thibault Saunier
6c37fa7110
validate: Avoid checking NULL pads when generating NNE reports
2016-09-22 12:36:29 -03:00
Tim-Philipp Müller
63ed33f1c5
validate: fix compiler warnings
...
gst-validate-report.c: In function ‘generate_unwind_trace’:
gst-validate-report.c:116:1: error: old-style function definition [-Werror=old-style-definition]
generate_unwind_trace ()
^~~~~~~~~~~~~~~~~~~~~
gst-validate-report.c:122:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
unw_cursor_t cursor;
^~~~~~~~~~~~
2016-09-20 13:39:02 +01:00
Thibault Saunier
026da6cd81
validate: Add backtraces in the reports
...
Printing them when the reporting all the details only
2016-09-20 08:49:04 -03:00
Sebastian Dröge
2c703b4e6d
configure: Depend on gstreamer 1.9.2.1
2016-09-14 11:31:47 +02:00
Thibault Saunier
e376da4c17
validate:launcher: Do not use unset sent_eos variable
...
And rename class member to sent_eos_time as it is more accurate
2016-09-12 14:21:30 -03:00
Thibault Saunier
9c9fe14293
meson:validate:test: Properly set paths to run launcher based tests
...
Adding a --validate-tools-path option to the launcher, allowing
to pass it from meson.
2016-09-09 12:24:54 -03:00
Thibault Saunier
3cbaae3090
meson: Build GstValidate as a tracer
...
And add version to the GStValidate shared library
2016-09-08 13:10:30 -03:00
Thibault Saunier
5dee7c8f47
validate: tests: Add launcher based GstValidate tests
...
First checking the new not negotiated error reporting code.
2016-09-08 13:10:29 -03:00
Thibault Saunier
3ece6a065e
validate: launcher: Always clean all tests at the end
...
Making sure that if an exception of anything happens we will
properly clean all the tests, or at least try to.
2016-09-08 13:10:29 -03:00
Thibault Saunier
03548cd63d
validate:launcher: Allow specifying expected tests errors
...
In the future instead of blacklisting tests we should define
what error is expected, and this way when the bug is closed,
we will notice, also, it will allow us to check GstValidate
error reporting itself.
2016-09-08 13:10:29 -03:00
Thibault Saunier
2fff14e469
validate: Pass information about GstValidate execution over a socket
...
Instead of trying to parsing stdout, generate json messages and
send them over a socket so that gst-validate-launcher can properly
have informations about gst-validate subprocess execution.
2016-09-08 13:10:29 -03:00
Thibault Saunier
29e5ac1362
validate: Enhance not-negotiated errors reporting
...
Keeping negotation information around and trying to figure
out precisely why the elements could not negotied the caps
when we get a NOT_NEGOTIATED error on the bus giving the
user details about it.
2016-09-08 13:10:29 -03:00
Thibault Saunier
9089df6d11
validate:meson: Add tests
2016-09-08 10:41:21 -03:00
Thibault Saunier
23203ca0bd
validate:launcher: Use a xunit reporter only when explicitely specified
2016-09-08 10:39:56 -03:00
Thibault Saunier
4090b0a7ae
validare: Enhance report message about wrong position
2016-09-08 10:39:56 -03:00
Thibault Saunier
8973fa04eb
validate:launcher: Report error and exit when a testsuite could not load
...
Otherwise the user might end up seeing a lot of meaningless logs about
'removed' tests.
2016-09-08 10:39:56 -03:00
Thibault Saunier
f7f600e730
validate: launcher: Fix the condition to check if we need an http server
...
We could be checking if a string was in None
And use gs_string_assign when assigning the first string
without using printf like format.
2016-09-08 10:39:56 -03:00
Thibault Saunier
61669bd042
validate: Indent report details
2016-09-08 10:39:56 -03:00
Thibault Saunier
6e9c67238d
validate:scenario: Wait for ASYNC_DONE to set async state change DONE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=769894
2016-09-05 14:43:51 -03:00
Thibault Saunier
7165e6ad12
meson: Bump version to 1.9.2
...
And unify the name of the disable_introspection option
2016-09-05 12:32:22 -03:00
Sebastian Dröge
92d39f46c5
Back to development
2016-09-01 12:35:08 +03:00
Sebastian Dröge
666f373f6f
Release 1.9.2
2016-09-01 12:35:00 +03:00
Mathieu Duponchelle
ec1d8d7d8c
launcher: Add --dump-on-failure switch
...
When the test fails, it can be useful to have the log files dumped
to stdout.
https://bugzilla.gnome.org/show_bug.cgi?id=741092
2016-09-01 03:39:18 +02:00
Thibault Saunier
40d803271c
validate: Fix launching gst-validate-launcher in a meson based uninstalled env
2016-08-29 09:44:13 -03:00
Thibault Saunier
53d69adcaf
meson: Add support for building GIR when used as subproject
...
Add allow project to us it as subproject too
2016-08-26 20:06:22 -03:00
Thibault Saunier
da327d8625
validate: Add support for Meson as alternative/parallel build system
...
https://github.com/mesonbuild/meson
2016-08-25 15:12:31 -03:00
Edward Hervey
fcff932e09
validate: Un-blacklist tests that are fixed
...
the bug reports to which they report have been closed and I can't make
them fail locally.
2016-08-13 16:56:18 +02:00
Edward Hervey
7d99e780a7
validate: Blacklist more ogg files
...
https://bugzilla.gnome.org/show_bug.cgi?id=769545
2016-08-13 15:39:18 +02:00
Edward Hervey
37771192a6
validate: Blacklist scrub_forward_seeking.op2b-mpeg2-wave_hd_mxf
...
See https://bugzilla.gnome.org/show_bug.cgi?id=764025
2016-08-12 12:33:30 +02:00
Guillaume Desmottes
15e5e23e32
validate: use new API when switching track with playbin3
...
Move all the implementations of 'switch-track' to
gst-validate-scenario.c while doing so.
Differential Revision: https://phabricator.freedesktop.org/D1227
2016-08-01 10:45:42 -04:00