test_run: filter out Gtk-Message logs 98/21398/2
Clément DAVID [Mon, 24 Feb 2020 10:48:04 +0000 (11:48 +0100)]
Change-Id: I231230e827f24403f317046b022ee3d843e71639

scilab/modules/development_tools/macros/test_run.sci

index f8b8d4f..a52f6f4 100644 (file)
@@ -941,6 +941,12 @@ function status = test_single(_module, _testPath, _testName)
                 // libraries
 
                 if ~isempty(txt) then
+                    // Gtk style on Ubuntu or other Gtk logging
+                    toRemove = grep(txt, "Gtk-Message:");
+                    txt(toRemove) = [];
+                end
+
+                if ~isempty(txt) then
                     // MESA / EGL display some warning on stderr
                     toRemove = grep(txt, "libEGL warning:");
                     txt(toRemove) = [];