Thibault Saunier
93bd46dbc2
validate: Do not try to use a NULL iter
2014-05-02 18:30:22 +02:00
Thiago Santos
385d6d4ccd
pad-monitor: check that no buffers are pushed after a pad is EOS
...
Make sure no resources are wasted after elements are done with the
current segment
2014-05-02 12:07:53 -03:00
Thibault Saunier
28bd6ee17a
launcher: Now using git annex to handle media files
2014-04-28 13:08:17 +02:00
Thibault Saunier
676602644c
validate: Expose a seeking method so other actions types can seek
...
Other action types might need to seek and we GstValidateScenario need
to know about it, add a method others can use to do the seeking
2014-04-26 09:52:37 +02:00
Thibault Saunier
a3a132489a
Revert "validate:launcher: Always put gst-validate result as stderr in reports"
...
This reverts commit 925ff7542b
.
Actually jenkins never truncates on failure stacktrace... we do not
want to set gst-validate as failure stacktrace in our results. That
commit was not usefull.
2014-04-26 09:16:26 +02:00
Thibault Saunier
925ff7542b
validate:launcher: Always put gst-validate result as stderr in reports
...
This way jenkins will always keep the information in its database even
if the test passes
2014-04-26 08:11:20 +02:00
Thibault Saunier
4f920dc405
validate: Pass -scenario.c into gst-indent and fix some docs
2014-04-25 18:33:33 +02:00
Thibault Saunier
0c4216d005
validate: Add a "dot-pipeline" action
2014-04-25 18:27:30 +02:00
Thibault Saunier
eb4a70a263
validate: Return a boolean when parsing an enum string
2014-04-25 18:26:50 +02:00
Thibault Saunier
8852633dfc
validate:scenarios: Prefer stop action instead of EOS when appropriate
2014-04-25 14:51:28 +02:00
Thibault Saunier
bd936dae4c
validate:launcher: Properly set error message when sending EOS did not work
2014-04-25 14:51:28 +02:00
Thibault Saunier
da6dc3882b
validate:launcher: Add a way to specify tests filtering only on defaults
2014-04-25 14:51:28 +02:00
Thibault Saunier
be72ec5f6a
validate:launcher: Add support for audio track switching scenario
2014-04-25 14:51:28 +02:00
Thibault Saunier
8b4542540c
validate:launcher: Make it possible to run any scenario test in gst-validate
2014-04-25 14:33:06 +02:00
Thibault Saunier
8035094128
validate:launcher: Do not run reverse playback on mpegts files
2014-04-25 14:33:06 +02:00
Thibault Saunier
fba15f71c6
validate:launcher: Cleanup media descriptor usage
2014-04-25 14:33:06 +02:00
Thibault Saunier
81b0c74bfa
validate:launch: Port to the new media_info format
2014-04-25 14:33:06 +02:00
Thibault Saunier
d280d0dbc9
validate: Add a media-descriptor parser and writer
2014-04-25 14:33:06 +02:00
Thibault Saunier
f6c6043317
validate: Minor printing cleanup
2014-04-25 14:33:06 +02:00
Thibault Saunier
2d7d03d2f7
validate: Add a 'stop' action to stop a pipeline
...
It uses the GST_MESSAGE_REQUEST state with the scenario as a source
so that application can stop running when they receive it on the bus.
2014-04-25 14:33:06 +02:00
Thibault Saunier
7133e4b4e0
validate:launcher: Use the new validatelog file
...
Making the output cleaner and clearer in junit XML file
2014-04-25 14:33:06 +02:00
Thibault Saunier
38eda37341
validate: Handle position printing at the monitor level
...
Instead of replicating that code all around
2014-04-23 11:27:44 +02:00
Thibault Saunier
810e432da2
validate: Add printing utilities
...
Allowing the user to print everyting in a file through the
GST_VALIDATE_FILE env variable
2014-04-23 11:16:32 +02:00
Thibault Saunier
cac53e9078
validate: Add an action to wait for a given amout of time
...
During that time we will just not execute any new action
+ Lower WARNING to DEBUG when no playbcak_time is provided for an
action, it should just be 0.
2014-04-23 09:37:22 +02:00
Thibault Saunier
21a4888ae7
validate: Check that for raw, buffers are strictly contained in segment
...
For encoded data we might need buffers that have timestamp <
segment.start to make sure that we have the keyframe, etc... but for raw
data, buffer end should strictly be inside the segment, be more strict
about that.
2014-04-22 16:57:21 +02:00
Thibault Saunier
8527d91737
validate: PAR is not a mandatory field
...
Also make it possible to check other not mandatory fields in the future
2014-04-22 16:57:21 +02:00
Thibault Saunier
279625a541
validate: Do not use GST_PTR_FORMAT when reporting
...
It will not work now that we have our own implementation of printf for that in Gst and
thus provide us with pretty useless infos
2014-04-22 16:57:21 +02:00
Thibault Saunier
02abb60a67
validate:launcher: Send SIGINT signal instead of killing the subprocess
...
This way we get the result from GstValidate even on timeouts
2014-04-22 10:49:13 +02:00
Thibault Saunier
7f54c5dba8
validate:launcher: Always set sync=True on fakesink on playback pipelines
...
This way we are in closer condition of real sink playback.
+ some minor cleanup in gst-validate.c
2014-04-22 09:42:59 +02:00
Thibault Saunier
bbbd5fe2d0
validate:launcher: ring-buffer-max-size is in bytes
2014-04-17 12:58:48 +02:00
Thibault Saunier
ad25b4d160
validate: Handle g_log errors at the gst-validate level
2014-04-17 12:23:04 +02:00
Thibault Saunier
8899ad004c
validate: Allow comments in scenario files
...
Comment are per line only and start with #
2014-04-17 11:23:27 +02:00
Thibault Saunier
f45524a3cc
validate:launcher: Fix default blacklist management
2014-04-15 15:26:36 +02:00
Thibault Saunier
f1851235d5
validate:launcher: Print the number of the test being run
2014-04-02 19:17:24 +02:00
Thibault Saunier
6104ed184f
validate: Avoid segfault when discovering fails
...
In that case the x->stream_info might not be set
2014-04-02 19:17:24 +02:00
Thibault Saunier
86df60e16f
validate:launcher: Fix mixup in media_check tests expected file path
2014-04-02 12:12:11 +02:00
Thibault Saunier
78f91ae8da
validate:launcher: Flush stdout each time we print
...
So everything gets printed on time on windows and jenkins
2014-03-31 14:37:51 +02:00
Thibault Saunier
36a0f6a674
validate: launcher: Use the ConfigPraser object everywhere for file_infos
2014-03-31 11:03:48 +02:00
Thibault Saunier
3d8201d52b
validate:launcher: Properly handle missing scenarios on the system
2014-03-28 15:41:30 +01:00
Thibault Saunier
339703d2eb
validate:launcher: Handle windows path to construct arguments
2014-03-28 15:00:45 +01:00
Thibault Saunier
bc40235600
validate:launcher: Handle the fact that win32 apps end with .exe
2014-03-28 15:00:01 +01:00
Thibault Saunier
7e1c83b5b9
validate: Do not build LD_PRELOAD related code on windows
...
And do not forget to link against gst-pbutils
2014-03-28 12:17:25 +01:00
Thibault Saunier
083d303d69
validate: Use GModule to 'dlopen' ovverrides
...
We want gst-validate to be cross platform so use cross platform tools
2014-03-28 10:40:19 +01:00
Thibault Saunier
3408869f49
validate:launcher: Put gst logs in a specific file
...
+ Make default timeout 30seconds just in case.
2014-03-28 10:40:19 +01:00
Thibault Saunier
8fdf84b084
validate: launcher: Let the use debug on test fail
...
When a test timeouts, let the user know about the subprocess etc,
and let him possibly connect gdb to it.
2014-03-26 20:08:43 +01:00
Thibault Saunier
870df6e4e2
validate:launcher: Do not set sample path to letter in ges-launch
2014-03-26 11:46:48 +01:00
Thibault Saunier
5510b96639
validate:launcher: Start the server only when actually needed to run filtered tests
2014-03-26 11:00:32 +01:00
Thibault Saunier
ff4879c749
validate: Do not query pad caps to check if caps are properly fowarded
...
Query caps will actually get the caps from downstream and those caps
might be different in case there is a Filter in between. What we want is
to check that the caps set on the internally linked pads are correct.
2014-03-26 10:57:04 +01:00
Thibault Saunier
36f9ba8f52
launcher: Allow user to set media-files directory
...
That was broken by 71dee6c384
2014-03-19 18:43:38 +01:00
Thibault Saunier
6d8ff8a92a
tools:validate: Start printing position on ASYNC_DONE
...
As this is what is done in the scenarios.
2014-03-19 17:45:36 +01:00