After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747006 - validate:launcher: Fix wrong test number with -j option
validate:launcher: Fix wrong test number with -j option
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other Linux
: Normal normal
: 1.5.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-30 10:29 UTC by Young Han Lee
Modified: 2015-06-24 14:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix wrong test number with -j option (2.70 KB, patch)
2015-03-30 10:31 UTC, Young Han Lee
none Details | Review

Description Young Han Lee 2015-03-30 10:29:23 UTC
When '-j n' option is given, first n tests print test number 0.
This is caused by test_num part of 919db986052602dca452f05e284cfc857302d4f0

ex)

$ gst-validate-launcher -m -j 4

[0 / 319] Launching: validate.file.audiomixer.simple.fast_forward.basic
......
[0 / 319] Launching: validate.file.audiomixer.simple.play_15s.basic
......
[0 / 319] Launching: validate.file.audiomixer.simple.scrub_forward_seeking.basic
......
[0 / 319] Launching: validate.file.audiomixer.simple.seek_backward.basic
......
[0 / 319] validate.file.audiomixer.simple.play_15s.basic: Passed
......
[1 / 319] Launching: validate.file.audiomixer.simple.seek_forward.basic
......
Comment 1 Young Han Lee 2015-03-30 10:31:35 UTC
Created attachment 300570 [details] [review]
Fix wrong test number with -j option
Comment 2 Thibault Saunier 2015-03-30 11:04:23 UTC
Thanks for the fix.
Comment 3 Thibault Saunier 2015-03-30 11:06:57 UTC
commit 4c7ec6b8b13a7c1ec1f8c4e8a9ddab887c1e54aa
Author: Young Han Lee <y.lee@lge.com>
Date:   Mon Mar 30 16:00:09 2015 +0900

    validate:launcher: Fix wrong test number with -j option
    
    When '-j n' option is given, first n tests print test number 0.
    This is caused by test_num part of 919db986052602dca452f05e284cfc857302d4f0.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747006