Skip to content

Enable fitpanel gui test again#22039

Open
linev wants to merge 4 commits intoroot-project:masterfrom
linev:firpanel_test
Open

Enable fitpanel gui test again#22039
linev wants to merge 4 commits intoroot-project:masterfrom
linev:firpanel_test

Conversation

@linev
Copy link
Copy Markdown
Member

@linev linev commented Apr 24, 2026

GUI classes requires that gVirtualX->CreateGC() returns unique value.
This id value identify TGGC instance and used to cleanup these instances at the end.
If returned value always 0 - cleanup does not work correctly and may crash ROOT during teardown.

In fitpanel UnitTesting provide special subclass of TVirtualX which returns unique ids.
Maybe such workaround can be directly add to base TVirtualX class.

Also modernize UnitTesting - use gSystem->RedirectOutput to redirect standard output to the file.

linev added 3 commits April 23, 2026 16:43
Do not automatically terminate application
Use gSystem->RedirectOutput
To correctly run gui classes, gVirtualX->CreateGC should return
every time unique value. Otherwise cleanup of many classes does not work correctly.
@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 9h 35m 52s ⏱️
 3 851 tests  3 848 ✅  1 💤 2 ❌
76 930 runs  76 909 ✅ 18 💤 3 ❌

For more details on these failures, see this check.

Results for commit b67cd71.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant