summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-23scenario: Set the default action execution interval to 10msHEADmasterEdward Hervey1-2/+3
Having a default value of 0 meant that a g_idle_add loop was constantly running, causing each test to use 100% cpu. This is no longer required. Using a 10ms interval brings down cpu usage to a sane value
2015-11-18codecanalyzer: Fix memory leaks when context parse failsVineeth T M1-0/+2
When g_option_context_parse fails, context and error variables are not getting free'd which results in memory leaks being reported. https://bugzilla.gnome.org/show_bug.cgi?id=753862
2015-11-17validate: media-descriptor-writer: Don't create media info when stream info ↵Vineeth T M1-12/+13
is not present. When a file does not contain any stream info, then there is no need to create the media info file as, it is not considered to be a valid file and no validate checks are done for the same. This skips unnecessary files like .txt, .dump files https://bugzilla.gnome.org/show_bug.cgi?id=754006
2015-11-16validate: launcher: Set scenario manager config before discovering testsuitesThibault Saunier1-2/+1
2015-11-11validate: launcher: Print error when media-info files not presentVineeth T M1-3/+8
When there are no media-info files present and --generate-media-info option is not given, then it just fails without printing error. Printing an error stating, use --generate-media-info if there are no media info files. When there are neither media files and media info files, print error stating the same https://bugzilla.gnome.org/show_bug.cgi?id=755087
2015-11-11validate: Fix memory leaks when context parse failsVineeth T M4-1/+4
When g_option_context_parse fails, context and error variables are not getting free'd which results in memory leaks. Free'ing the same. And replacing g_error_free with g_clear_error, which checks if the error being passed is not NULL and sets the variable to NULL on free'ing. https://bugzilla.gnome.org/show_bug.cgi?id=753862
2015-11-11validate: suppression: suppress 'uninitialised value of size 4' in aacdecVineeth TM1-0/+9
Suppress this error, until the logic in libav is fixed. https://bugzilla.gnome.org/show_bug.cgi?id=753268
2015-11-10validate: Implement support to run tests inside gdbThibault Saunier2-6/+38
Making debugging races leading to crashes easier to debug
2015-11-10validate: Minor documentation fixThibault Saunier1-1/+1
2015-11-08validate: Remove 0.10 caps reference from the documentationThibault Saunier1-1/+1
2015-10-29validate: Handle setting several scenariosThibault Saunier1-17/+25
The user might have scenarios specific to a particular pipeline, and the application might have several pipelines running and scenarios that apply on specific pipeline. We have to handle that valid use case.
2015-10-27validate: Un-blacklist seeking HLS testsSebastian Dröge1-6/+0
They are reliable enough after 36b80edb7263118467dfcaee3923f7c964ae6bc8 in gst-plugins-base now.
2015-10-26validate: Add missing gir include pathWonchul Lee1-0/+8
Add missing gir include path for building with gst-uninstalled script Differential Revision: https://phabricator.freedesktop.org/D461
2015-10-19validate-transcoding: trivial patch to change error from 0.10 to 1.0Vineeth T M1-1/+1
While printing error in transcoding, gst-validate-transcoding-0.10 is being used. Changing the same to 1.0 https://bugzilla.gnome.org/show_bug.cgi?id=756215
2015-10-14validate: Add support for proresThibault Saunier1-1/+5
2015-10-10validate: fix double freeGuillaume Desmottes1-1/+1
Summary: Move variable declarations in the for block so we won't try re-free tldir in case of early short circuiting of the 'for' code. Depends on D348 Reviewers: thiblahute Reviewed By: thiblahute Differential Revision: https://phabricator.freedesktop.org/D349
2015-10-10validate: fix loading of full path scenarioGuillaume Desmottes1-1/+1
Summary: We were checking if the path was a full one but was using the scenario_name instead of this path when trying to load the scenario. Depends on D346 Reviewers: thiblahute Reviewed By: thiblahute Differential Revision: https://phabricator.freedesktop.org/D348
2015-10-10Update .arcconfigThibault Saunier1-1/+3
2015-10-02validate:launcher: throw valgrind error only for definite lossVineeth TM1-0/+3
errors-for-leak-kinds should be set to definite, because almost every test case , will have possibly lost memory, which may or may not be a leak. And throwing error for all these cases doesn't seem to be correct. https://bugzilla.gnome.org/show_bug.cgi?id=752754
2015-10-02validate: launcher: Fix media_check class name and add double quotes for ↵Vineeth T M2-3/+3
valgrind logs When creating the class names for media check, uri is being used, instead of the path. Hence converting the uri using uri2path and creating class name. Add double quotes for valgrind logs, to support special characters like space https://bugzilla.gnome.org/show_bug.cgi?id=752808
2015-10-02validate: media-check: Pass NULL instead of GError if not using itVineeth TM1-2/+2
If not using the GError being passed on to media descriptor, writer and parser, simply pass NULL instead of GError. https://bugzilla.gnome.org/show_bug.cgi?id=753340
2015-10-02validate: descriptor-writer: Handle NULL GError address and free GError ↵Vineeth TM1-5/+7
during error cases writer_new_discover() API should be able to accept NULL GError and in case of error, if GError is passed on as parameter, it should be propagated, else it should be free'd. https://bugzilla.gnome.org/show_bug.cgi?id=753340
2015-10-02validate:tools: set locale to all and change argument to FILENAMEVineeth TM4-3/+10
When file name consists of characters from other languages, say korean, then it throws an error Error initializing: Invalid byte sequence in conversion input Hence setting locale to all to fix this. And changing the media-info argument to type G_OPTION_ARG_FILENAME https://bugzilla.gnome.org/show_bug.cgi?id=753486
2015-10-02validate: Print the return value at the endVineeth T M2-0/+6
Makes it easier to know if the test passed or failed. https://bugzilla.gnome.org/show_bug.cgi?id=754013
2015-10-02validate: launcher: Support relative path for folder namesVineeth T M1-1/+1
Even though relative paths are supported, right now it does not work when we give the path as 'media/' present in the current directory. Adding support for the same. https://bugzilla.gnome.org/show_bug.cgi?id=754100
2015-09-30validate:launcher: Treat min-media-duration as a floatThibault Saunier1-1/+1
2015-09-30scenarios: Set min-media-duration on switch_audio_trackThibault Saunier1-1/+1
2015-09-30validate:scenario: Add a way to define a timeout for actions executionThibault Saunier3-6/+31
Reviewers: Mathieu_Du Differential Revision: https://phabricator.freedesktop.org/D271
2015-09-26validatessim: Stop using deprecated gst_segment_to_position()Sebastian Dröge1-1/+1
2015-09-25Back to developmentThibault Saunier1-2/+2
2015-09-25Release 1.6.0Thibault Saunier4-6/+35
2015-09-16validate: scenarios: set need clock sync for switching subtitle trackeunhae choi2-2/+2
As soon as the track is changed, the pipeline state is set to NULL by execution 'stop' action even if there is a 'playback-time' with 5sec. If the AV sink is not synchronized, audio fakesink and video fakesink has different position value. When the validate request the position information of pipeline to do 'stop' action, the audio fakesink response of the position query with the bigger value than 5sec. https://bugzilla.gnome.org/show_bug.cgi?id=755101
2015-08-21Release 1.5.90Thibault Saunier4-7/+432
2015-08-21Update common submoduleThibault Saunier1-0/+0
2015-08-21validate: Put the GstValidate testsuite version in the launcher configThibault Saunier2-0/+9
This way testsuite implementation can have the information
2015-08-17validate/transcoding: Don't override the target state of the scenario when ↵Sebastian Dröge1-3/+32
receiving BUFFERING=100% If the scenario handles the states and wants to stay in PAUSED, it's not a good idea to change the state to PLAYING when receiving BUFFERING=100%. This caused a race condition in varios seeking tests, most often in the dash scrub seeking test.
2015-08-17validate: Don't override the target state of the scenario when receiving ↵Sebastian Dröge3-4/+49
BUFFERING=100% If the scenario handles the states and wants to stay in PAUSED, it's not a good idea to change the state to PLAYING when receiving BUFFERING=100%. This caused a race condition in varios seeking tests, most often in the dash scrub seeking test.
2015-08-16validate: Fix typoSebastian Dröge1-1/+1
2015-08-16validate/launcher: Blacklist some HLS seeking tests againSebastian Dröge1-0/+10
2015-08-16validate/launcher: Un-blacklist validate.dash.playback.reverse_playback.*Thiago Santos1-2/+0
Fixed now
2015-08-16validate/launcher: Un-blacklist validate.hls.playback.reverse_playback.*Sebastian Dröge1-4/+0
It apparently succeeds now.
2015-08-15validate/launcher: De-blacklist some HLS testsSebastian Dröge1-10/+0
2015-08-15validate/launcher: Blacklist some DASH testsSebastian Dröge1-0/+6
2015-08-15launcher: Handle override files for media filesThibault Saunier2-7/+38
And make sure to create a new dict for extra_env_vars when instanciating GstValidateTest
2015-08-15launcher: Make sure MediaDescriptor is set in the GstValidateTest class itselfThibault Saunier2-3/+6
It is used there but was set in each and every subclasses
2015-08-15validate/launcher: Treat DASH like HLS in another placeSebastian Dröge1-1/+1
2015-08-07validate: scenario: fix leak during error casesVineeth TM1-0/+2
When message_async is not called during error cases, needs_parsing GList is not being freed resulting in leak. Hence free'ing the same in finalize. https://bugzilla.gnome.org/show_bug.cgi?id=753339
2015-08-05validate: descriptor-writer: Handle error when stream info is not availableVineeth TM3-9/+17
There is no check to see if stream info is available. This leads to assertion error. Adding proper error messages for the same and reported the same as a validate warning message. https://bugzilla.gnome.org/show_bug.cgi?id=752758
2015-08-05validate: descriptor-writer: Print proper error message when discover failsVineeth TM1-5/+32
When discovering the files, there will be different kind of errors. If we print the exact message, then it will be more helpful for user. Especially in the case of missing plugins, displaying which plugin is missing as error message https://bugzilla.gnome.org/show_bug.cgi?id=752758
2015-08-05validate:override-registry: fix memory leakVineeth TM1-0/+1
mutex is being initialized but not cleared. https://bugzilla.gnome.org/show_bug.cgi?id=752754