Bug 1804895

Summary: gtester is deprecated in Fedora 31
Product: [Retired] Restraint Reporter: Daniel Rodríguez <danrodri>
Component: generalAssignee: Daniel Rodríguez <danrodri>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: masterCC: asavkov, beaker-dev-list, bpeck, breilly, cbeer, mastyk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-10 14:42:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Rodríguez 2020-02-19 20:10:22 UTC
Description of problem:

(gtester:409): WARNING **: 17:46:53.279: Deprecated: Since GLib 2.62, gtester and gtester-report are deprecated. Port to TAP.

And the deprecation warning will make it abort execution if warnings are made fatal.

It's suggested to use TAP instead [0]. Also, is mentioned in glib docs [1]:

 If you are using Autotools, you're strongly encouraged to use the Automake 
 TAP harness; GLib provides template files for easily integrating with it:

 glib-tap.mk
 tap-test
 tap-driver.sh

[0] https://www.gnu.org/software/automake/manual/html_node/Using-the-TAP-test-protocol.html
[1] https://developer.gnome.org/glib/stable/glib-Testing.html

Version-Release number of selected component (if applicable):

Since GLib 2.62

How reproducible:

All the time.

Steps to Reproduce:
1. Run test with gtester using the --g-fatal-warnings or setting G_DEBUG="fatal_warnings"
2. Pause for a minute and reflect

Actual results:

gtester aborts itself due to deprecation warning made fatal

Expected results:

Deprecation warning doesn't make gtester abort.

Additional info:

Removing fatal_warnings from G_DEBUG works.