Skip to content

Fix tests failing in Gentoo#22166

Open
hageboeck wants to merge 3 commits intoroot-project:masterfrom
hageboeck:fixes_Gentoo
Open

Fix tests failing in Gentoo#22166
hageboeck wants to merge 3 commits intoroot-project:masterfrom
hageboeck:fixes_Gentoo

Conversation

@hageboeck
Copy link
Copy Markdown
Member

@hageboeck hageboeck commented May 6, 2026

These changes are needed to run ROOT's test suite in Gentoo. The failures are often caused

  • by the fact that ROOT might already be installed in /usr/local, which can break the test suite
  • or by the fact that the environment in portage's test sandbox is different from what ROOT expects.

@hageboeck hageboeck self-assigned this May 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

Test Results

    22 files      22 suites   3d 11h 59m 23s ⏱️
 3 850 tests  3 798 ✅ 0 💤 52 ❌
76 936 runs  76 884 ✅ 0 💤 52 ❌

For more details on these failures, see this check.

Results for commit c5a24e8.

♻️ This comment has been updated with latest results.

@hageboeck hageboeck force-pushed the fixes_Gentoo branch 3 times, most recently from c9428fe to 3af3584 Compare May 7, 2026 18:17
hageboeck added 2 commits May 8, 2026 13:31
When ROOT is tested in Gentoo's sandbox, libsandbox is loaded, which
fails the test.
When ROOT is installed in the system, invoking just "rootcling" invokes
/usr/bin/rootcling. Here, the result of the rootcling target is invoked.
@hageboeck hageboeck marked this pull request as ready for review May 8, 2026 13:23
The Makefile of old ROOT tests supports reading architecture and
platform from the environment. If ARCH or PLATFORM are defined, this
breaks, and the Makefile might fail to compile the tests.
Here, these variables are unset to ensure that the test compiles in all
environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant