Skip to content

Commit 9c5ce87

Browse files
committed
Mask a DISPLAY not set warning in TTabComTests.
When running the test via ssh, it might issue the warning about the DISPLAY variable not being set, failing the test.
1 parent b2d2d2f commit 9c5ce87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/rint/test/TTabComTests.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ TEST(TTabComTests, CompleteTH1)
9292
{
9393
ROOT::TestSupport::CheckDiagsRAII diagRAII;
9494
diagRAII.optionalDiag(kError, "", "libGed[.so | .dll | .dylib | .sl | .dl | .a] does not exist in", false);
95+
diagRAII.optionalDiag(kWarning, "TUnixSystem::SetDisplay", "DISPLAY not set", false); // When tested over ssh
9596
if (0 == gSystem->Load("libGed")) {
9697
expected += " TH1Editor";
9798
}

0 commit comments

Comments
 (0)