Commit graph

1828 commits

Author SHA1 Message Date
Thibault Saunier
3932b3f944 validate-transcoding: Use standard GstEncodingProfile deserialization function 2016-12-23 15:00:53 -03:00
Thibault Saunier
1bc6cb3615 validate:launcher: Take into account test duration when filtering them
Otherwise running -t 'some.*test' will run long tests (longer than hard
timeout) which is not what the user expect.
2016-12-23 14:59:03 -03:00
Sebastian Dröge
93fa16f1ba validate-runner: Use correct enum in return value
gst-validate-runner.c:856:7: error: implicit conversion from enumeration type 'GstValidateReportLevel' to different enumeration type 'GstValidateReportingDetails' [-Werror,-Wenum-conversion]
      GST_VALIDATE_REPORT_LEVEL_UNKNOWN);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2016-12-22 19:24:22 +02:00
Thibault Saunier
2a6c39d725 validate: Add safe guards to runner API 2016-12-22 10:29:18 -03:00
Thibault Saunier
d013e26cbc validate: Whitlist blacklisted test only when explicitely
Otherwise running -t '.*reverse.*' will also run blacklisted
tests which is probably not what use wants.
2016-12-22 10:29:18 -03:00
Thibault Saunier
5fc11cf389 launcher: Make --update-media-info check if generating frames info or not 2016-12-22 10:29:18 -03:00
Thibault Saunier
a4aa5c60bb validate:launcher: Add an app handler for unit tests described in meson
This way we can run all tests with the launcher which brings in many
features.

And add a testsuite for GStreamer unit tests.
2016-12-22 10:29:18 -03:00
Thibault Saunier
1f9c67e6ff validate:launcher: Allow specifying a timeout factor 2016-12-22 10:08:27 -03:00
Thibault Saunier
085ebf03ba validate:launcher: Print the iteration number when running forever 2016-12-22 10:08:26 -03:00
Thibault Saunier
58711edce8 validate:launcher: Add a -v option to print subprocesses to stdout 2016-12-22 10:08:25 -03:00
Thibault Saunier
076c21fbe5 validate:launcher: Run cpu_count test in parallel by default 2016-12-22 10:08:24 -03:00
Thibault Saunier
d5de0b702c validate:launcher: Do not list tests on unneeded testers 2016-12-22 10:08:23 -03:00
Thibault Saunier
6504b9152c validate:launcher: Allow specifying several testsuite dirs 2016-12-22 10:08:21 -03:00
Thibault Saunier
26692e749c validate:launcher: Stop running test subprocesses in a shell
And instead properly use a list of argument for the subprocesses.
2016-12-22 10:07:58 -03:00
Stefan Sauer
013b747404 tracer: gsttr-stats: don't average aggregated values
Only collect the first/last values for them.
2016-12-20 21:06:40 +01:00
Stefan Sauer
4771b445e9 tracer/gsttr-stats: skip optional fields 2016-12-20 12:10:43 +01:00
Stefan Sauer
167be7d7af tracer/structure: handle boolean fields 2016-12-20 12:10:28 +01:00
Stefan Sauer
4a8a29a884 tracer/gsttr-stats: improve formatting
Add a headline and print the results as columns. Use ':' in ts format.
2016-12-20 10:33:36 +01:00
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