Skip to content

Enable fitpanel and stressgui tests with xvfb utitlity#22039

Merged
linev merged 5 commits into
root-project:masterfrom
linev:firpanel_test
May 22, 2026
Merged

Enable fitpanel and stressgui tests with xvfb utitlity#22039
linev merged 5 commits into
root-project:masterfrom
linev:firpanel_test

Conversation

@linev

@linev linev commented Apr 24, 2026

Copy link
Copy Markdown
Member

Enable fitpanel and stressgui tests with xvfb-run utility.
It emulates X server and allows to run GUI tests on batch machines.

Also modernize fitpanel test to prepare for pure batch tests.

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.

Modernize UnitTesting in fitpanel - use gSystem->RedirectOutput to redirect standard output to the file.

@github-actions

github-actions Bot commented Apr 24, 2026

Copy link
Copy Markdown

Test Results

    21 files      21 suites   3d 8h 39m 17s ⏱️
 3 837 tests  3 826 ✅ 0 💤 11 ❌
73 304 runs  73 292 ✅ 0 💤 12 ❌

For more details on these failures, see this check.

Results for commit 02d6039.

♻️ This comment has been updated with latest results.

@linev linev changed the title Enable fitpanel gui test again Enable fitpanel and stressgui tests with xvfb utitlity May 20, 2026
@linev linev closed this May 21, 2026
@linev linev reopened this May 21, 2026
@dpiparo dpiparo self-requested a review May 22, 2026 04:36
linev added 5 commits May 22, 2026 07:16
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.
If xvfb-run detected on the system,
use it to run stressGUI test.
First create ref file and then check that it match.

Prinout log information when generating ref file in stressGUI -
otherwise missing info if something went wrong

@bellenot bellenot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me if it works...

@linev linev merged commit d9bcecf into root-project:master May 22, 2026
28 of 30 checks passed
@linev linev deleted the firpanel_test branch May 22, 2026 12:10
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.

3 participants