https://bugzilla.wikimedia.org/show_bug.cgi?id=68826

            Bug ID: 68826
           Summary: DjVu test spams standard output
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Unit tests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

Original bug title:
DjVu test spams standard output

How to reproduce:
Upload a patch set to core or run the unit tests locally.

Evidence:
https://integration.wikimedia.org/ci/job/mediawiki-core-regression-master/6741/console
16:18:32 ..........*** [1-11711] Failed to open 'some-nonexistent-file': No
such file or directory.
16:18:32 *** (ByteStream.cpp:693)
16:18:32 *** 'DJVU::GUTF8String DJVU::ByteStream::Stdio::init(const
DJVU::GURL&, const char*)'
16:18:32 
16:18:32 djvutxt: [1-11711] Failed to open 'some-nonexistent-file': No such
file or directory.
16:18:32 djvutxt: 'ByteStream.cpp:693'

Expected:
No console spam.

Considerations so far:
ori: tim suggested that we add a 'discardStderr' option to wfShellExec()
ori: there is no command-line option to djvutxt that would make it not spam; I
checked
ori: discardStderr would 2>/dev/null obviously

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to