Stefan Sauer
bbd75cb65e
tracer/README: update docs
...
Update status of what is done and what we want to figure still.
2016-12-20 10:26:55 +01:00
Stefan Sauer
e8fffa073d
tracer/parser: use local vars in the iterator function
...
This saves variable lookups in this thight loop.
2016-12-20 09:25:30 +01:00
Stefan Sauer
876f3994ca
tracer: pep8 cleanup
2016-12-20 08:24:57 +01:00
Stefan Sauer
52ce3ef666
tracer: update docstrings
2016-12-20 08:24:57 +01:00
Stefan Sauer
64ce582313
tracer/structure: improve performance
...
Use local vars in the parser. This way we can make them static methods.
2016-12-20 08:24:57 +01:00
Stefan Sauer
b2576972ce
tracer/gsttr-stats: adding some filtering options
...
Also adding a way to show what is in the file.
2016-12-20 08:24:57 +01:00
Stefan Sauer
2239c8b7ac
tracer/Makefile: fix test invocation
...
And fix a deprecation warning.
2016-12-20 08:24:57 +01:00
Stefan Sauer
91ac5089cf
tracer/structure: add more tests and a benchmark
2016-12-20 08:24:57 +01:00
Stefan Sauer
2150443565
tracer/gsttr-stats: move time unit hack into method
2016-12-20 08:24:57 +01:00
Stefan Sauer
68d1925826
tracer/gsttr-stats: split Analyzer into Analyzer and AnalysisRunner
...
This lets us run chain analyzers. Move the stats collection into the
gsttr-stats tool.
2016-12-20 08:24:57 +01:00
Stefan Sauer
a066c2f332
tracer: add a first tool to report aggregated findings
...
A tool to report min/max/avg values per scope and traced value.
2016-12-20 08:24:57 +01:00
Stefan Sauer
896201af35
tracer: add new python library to process tracer logs
...
This is the beginning of a python library for wrting tools that process tracer
logs. This library contains a structure parser written in python to avoid the
dependency on gobject introspection (and the slowness and non pythoness that
comes with it).
2016-12-20 08:24:57 +01:00
Stefan Sauer
9ca26b661d
debug-viewer: inline expression
2016-12-20 08:24:57 +01:00
Edward Hervey
5eab79dbd3
validate-scenario: Properly get the rate for action validation
...
This issue was most likely introduced by the refactoring of the
position querying into a standalone function.
In execute_next_action() the rate variable was never replaced by
the current rate of the pipeline, this would result in all reverse
playback actions to trigger immediately instead of waiting for
the actual target time.
https://bugzilla.gnome.org/show_bug.cgi?id=776280
2016-12-19 16:44:31 +01:00
Thibault Saunier
e42d9a784e
validate: Fix usage of get_stack)trace after API change
2016-12-12 15:07:30 -03:00
Thibault Saunier
ca85c45482
validate: transcode: No buffering handling when the sink is not synced on the clock
...
It makes no sense to pause the pipeline and wait for buffering to be
done when the pipeline is just processing the data as it comes
in without synchronizing on the clock.
2016-12-12 15:04:07 -03:00
Thibault Saunier
16d060a81d
meson: Support building without Gst debug
2016-12-09 18:15:08 -03:00
Reynaldo H. Verdejo Pinochet
0495c9197b
validate: fix small grammar nit
2016-12-07 15:11:33 -08:00
Thibault Saunier
e552c18c80
launcher: Handle stack trace information as jenkins expect it in the xunit file
2016-12-01 10:52:32 -03:00
Thibault Saunier
a842f9d511
validate:launcher: Handle missing media info file
2016-11-30 14:07:04 -03:00
Thibault Saunier
79faf44d32
validate: Properly handle proxy pads generating detailed info about NNEs
...
In cases where we had a two consecutive bins with proxy pads, we could
segfault because we were dereferencing a NULL pointer to pad.
2016-11-30 13:58:56 -03:00
Thibault Saunier
ab614e63ae
meson: Modernize the way we set test env variables
...
Removing the now useless getplugindirs script
2016-11-30 13:58:56 -03:00
Thibault Saunier
b0784ffcb3
validate:launcher: Make sure that the IPC server is shutdown before closing the socket
2016-11-30 07:40:05 -03:00
Thibault Saunier
2959af0761
validate:launcher: Make sure to check string when verifying expected failures
...
The value can potentially be None and we should handle that
2016-11-29 14:47:35 -03:00
Thibault Saunier
acfdd04e01
validate:launcher: Allow specifying timeout as a known issue
...
And minor cleanups
2016-11-28 19:37:08 -03:00
Thibault Saunier
03453961e8
validate:launcher: Properly report stack trace as such in the xunit file
2016-11-28 18:40:00 -03:00
Thibault Saunier
aec8693258
validate:launcher: Remove now useless validatelog
...
We are now doing IPC to communicate with the launcher
so let it simply go to stdout.
2016-11-28 18:40:00 -03:00
Thibault Saunier
e132c11a95
validate:launcher: Handle checking bug status for expected failures
2016-11-28 18:40:00 -03:00
Tim-Philipp Müller
7193b04770
common: use https protocol for common submodule
...
https://bugzilla.gnome.org/show_bug.cgi?id=775110
2016-11-26 11:26:26 +00:00
Thibault Saunier
8493b18e8c
validate: Fix GI warnings
2016-11-23 08:38:49 -03:00
Sebastian Dröge
b46e80080f
meson: Move vs_module_defs_dir to the validate subdirectory
...
It's validate/win32/ and not just win32/
https://bugzilla.gnome.org/show_bug.cgi?id=774638
2016-11-19 12:36:32 +02:00
Scott D Phillips
665a2e732b
validate: make: include common/win32.mak
...
With the addition of the .def file for validate we need to make
sure the check-export script from common gets executed so that the
.def stays up to date.
https://bugzilla.gnome.org/show_bug.cgi?id=774638
2016-11-19 11:54:06 +02:00
Scott D Phillips
55d0e7a607
meson: Add ignored warnings for MSVC
...
https://bugzilla.gnome.org/show_bug.cgi?id=774656
2016-11-18 09:40:55 +00:00
Scott D Phillips
9b18bafc68
Enable building with MSVC
...
https://bugzilla.gnome.org/show_bug.cgi?id=774638
2016-11-17 17:36:03 -03:00
Scott D Phillips
11c5a413ab
pad-monitor: fix return type of get_range_func
...
The return type of GstPadGetRangeFunction is GstFlowReturn
https://bugzilla.gnome.org/show_bug.cgi?id=774638
2016-11-17 17:36:03 -03:00
Scott D Phillips
caafd6c36e
validate: Remove #include <unistd.h>
...
It isn't needed and isn't present in non-posix environments like windows
with MSVC or mingw.
https://bugzilla.gnome.org/show_bug.cgi?id=774638
2016-11-17 17:36:03 -03:00
Scott D Phillips
6299e1228c
Fix MSVC const warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=774638
2016-11-17 17:36:03 -03:00
Scott D Phillips
4e45b76c09
Pass gint/guint pointers instead of enum pointers
...
The underlying integer type for enums are implementation defined and may
not be the same size as gint/guint. So implicitly casting from pointers-
to-enum-types to pointers-to-int-types is unsafe. MSVC warns on these.
https://bugzilla.gnome.org/show_bug.cgi?id=774638
2016-11-17 17:36:03 -03:00
Thibault Saunier
e3731ba839
validate: Minor documentation fixes.
2016-11-17 15:43:15 -03:00
Thibault Saunier
2857eaf2ad
validate: launcher: Allow checking if bugs linked to blacklist is fixed
2016-11-16 17:39:45 -03:00
Thibault Saunier
615fab620a
validate:launcher: Consider wanted tests as whitelisted
2016-11-16 12:02:32 -03:00
Thibault Saunier
612eaa4ad5
validate: meson: Do not mixup gstvalidate lib and tracer plugin
...
Even though it is mostly the same thing in the end
2016-11-15 18:55:09 -03:00
Thibault Saunier
8bd0cb13e8
validate:launcher: Timeout if running gdb takes too much time
2016-11-14 18:44:27 -03:00
Thibault Saunier
f5828b2b5c
validate:launcher: Allow running the testsuite N number of times
2016-11-14 13:32:07 -03:00
Thibault Saunier
30f4b590d8
validate: Remove extra buffering status prints
2016-11-14 13:06:10 -03:00
Thibault Saunier
20879e9c69
validate:launcher: Fix usage in an uninstalled environment
2016-11-09 17:38:04 -03:00
Thibault Saunier
17586b80b1
validate: Use gst_debug_get_stack_trace instead of our implementation
...
And remove now useless config.h.meson file
2016-11-09 10:55:40 -03:00
Thibault Saunier
5452672e89
validate:launcher: Try to generate a backtrace on segfaults
2016-11-09 10:19:45 -03:00
Thibault Saunier
1e51aeb942
validate:launcher: Port to Python3
...
And sync logging.py with Pitivi version
2016-11-09 10:13:42 -03:00
Thibault Saunier
cf1404814a
meson: Unset the plugin paths to generate the .gir files
...
Avoiding problems when using subproject:
'Failed to load plugin something.so file too short'
2016-11-04 14:45:38 -03:00