Commit graph

168 commits

Author SHA1 Message Date
Thibault Saunier
b8e1c3e64c validate:launcher:ges: Fix rendered duration checking 2014-06-16 16:46:21 +02:00
Edward Hervey
ca44a11429 validate: Run gst-indent on all code
so whitespace. much indent. spacing !
2014-06-03 10:05:25 +02:00
Thibault Saunier
0bde7bcacb validate: Add a scrub_backward_seeking scenario
+ Make use of it in ges-launch and do not try to seek while playing in
GES as it is not supported yet
2014-05-27 12:33:08 +02:00
Lubosz Sarnecki
1043aa3f55 python: change shebangs to python2 2014-05-19 10:21:07 +02:00
Thibault Saunier
dae0c4ef81 validate: Add a scenario that switches state many intensively
+ Use it by default in the launcher tests
2014-05-07 16:45:27 +02:00
Thibault Saunier
384686a7f7 validate: Minor fix for blacklisted test output formatting 2014-05-07 12:44:51 +02:00
Thibault Saunier
0b4bd7940a validate:launcher: Add an option to only launch the http server 2014-05-07 12:44:51 +02:00
Thibault Saunier
8a295da795 validate: Keep scenario discovering logs in a file 2014-05-07 12:44:51 +02:00
Thibault Saunier
720b9eff47 validate: Properly check that outputed videos have a correct duration 2014-05-07 11:30:39 +02:00
Thibault Saunier
cdb8822ae3 validate: Add the notion of "long" tests so that we can avoid some test to be run if they are too long 2014-05-07 11:30:09 +02:00
Thibault Saunier
49ab41743b validate: The 'buffering' variable needs to be static
We need its value between bus_callback calls to be the same
2014-05-04 09:30:16 +02:00
Luis de Bethencourt
eabcf8f106 gst-validate: some static variables can be local
buffering is only used inside the bus_callback, so it can have that local
scope. same thing with ret which is only used in the main function.
2014-05-02 17:25:07 -04:00
Luis de Bethencourt
0b01b578ce gst-validate: small typo in usage summary 2014-05-02 16:53:51 -04:00
Thibault Saunier
bb42d287e7 validate: Fix the name of the sintel blacklisting 2014-05-02 19:00:49 +02:00
Thibault Saunier
fbcee57902 validate: Implement frame by frame writing in the media descriptor writer
+ Add an option to fully parse media files in the gst-validate-media-check tool
2014-05-02 18:30:23 +02:00
Thibault Saunier
5d200f8819 validate: Add a scenario that disable subtitles
+ Clean the sythax to define switch-track action that actually
desactivate the track
2014-05-02 18:30:23 +02:00
Thibault Saunier
867bfec188 validate: Add a scenario that switches subtitle track while paused
+ Integrate it in the launcher
2014-05-02 18:30:23 +02:00
Thibault Saunier
872472feb3 validate:launcher: Sensibly simplify scenario handling 2014-05-02 18:30:23 +02:00
Thibault Saunier
9c5009c724 validate: Use ges-launch recursing path new feature
And fix path to URI conversion
2014-05-02 18:30:23 +02:00
Thibault Saunier
2077e76aa2 validate: Add a gst-validate-launcher documentation 2014-05-02 18:30:23 +02:00
Thibault Saunier
447b299dab validate:launcher: Port OptionParser to ArgParse 2014-05-02 18:30:23 +02:00
Thibault Saunier
5e2b577372 validate: Can not do reverse playback on sintel sample
+ Minor improvement in the CLI
2014-05-02 18:30:23 +02:00
Thibault Saunier
97482e2512 validate:launcher: Do not except meaningless argument in ges-launch 2014-05-02 18:30:23 +02:00
Thibault Saunier
804cdb5ad2 validate: Handle per file special scenarios
When a file is int the same folder as a media file and has a name like:
mediafilename.mkv.scenarios_name.scenario  we run that scenario on that
particular file
2014-05-02 18:30:23 +02:00
Thibault Saunier
1ffb6b4e1c validate: Allow specifying scenarios to parse when lisiting them
It used to only handle the scenario present in proper paths, we
also need to handle special scenarios provided by users on the fly
2014-05-02 18:30:22 +02:00
Thibault Saunier
f165fb41d0 validate: Handle ERROR on the bus when monitoring the pipeline
This way the user get a  clear information in the report about the issue

+ sensibly cleanup code
2014-05-02 18:30:22 +02:00
Thibault Saunier
da42500df7 validate: Add a scenarios that switchs subtitle track
+ Make it easier and cleaner to tell that a switch is actually disabling
a track type.

And run the scenario in gst-validate-launcher by default
2014-05-02 18:30:22 +02:00
Thibault Saunier
3281add6b5 validate: Add a switch_audio_track_while_paused scenario
And run it as a default
2014-05-02 18:30:22 +02:00
Thibault Saunier
a62560bc81 validate: Add an action to set an external URI file on playbin at runtime 2014-05-02 18:30:22 +02:00
Thibault Saunier
2a9e0824b2 validate: Override switch_track action when using a playbin
And use the playbin feature for that when the pipeline is based on playbin
2014-05-02 18:30:22 +02:00
Thibault Saunier
28bd6ee17a launcher: Now using git annex to handle media files 2014-04-28 13:08:17 +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
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
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
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
f45524a3cc validate:launcher: Fix default blacklist management 2014-04-15 15:26:36 +02:00