• Carlos Garcia Campos's avatar
    regtest: Do not buffer stderr output · 817cc333
    Carlos Garcia Campos authored
    Some buggy documents can produce a huge stderr output because of parsing
    errors or whatever. We could give a file directly to Popen to write the
    stderr file, but we only want to create the file when there's output,
    because it's what we use to know whether the command produced output or
    not. So, instead of buffering the whole output and then write it to the
    file, now we read from the pipe while the command is running, writing
    the output in chunks to the file. This improves a lot the memory
    consumption when running some tests.
    817cc333
Name
Last commit
Last update
cmake/modules Loading commit data...
cpp Loading commit data...
fofi Loading commit data...
glib Loading commit data...
goo Loading commit data...
m4 Loading commit data...
poppler Loading commit data...
qt4 Loading commit data...
qt5 Loading commit data...
regtest Loading commit data...
splash Loading commit data...
test Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
COPYING3 Loading commit data...
ConfigureChecks.cmake Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README-XPDF Loading commit data...
README.contributors Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
config.h.cmake Loading commit data...
configure.ac Loading commit data...
gtk-doc.make Loading commit data...
poppler-cairo-uninstalled.pc.in Loading commit data...
poppler-cairo.pc.cmake Loading commit data...
poppler-cairo.pc.in Loading commit data...
poppler-cpp-uninstalled.pc.in Loading commit data...
poppler-cpp.pc.cmake Loading commit data...
poppler-cpp.pc.in Loading commit data...
poppler-glib-uninstalled.pc.in Loading commit data...
poppler-glib.pc.cmake Loading commit data...
poppler-glib.pc.in Loading commit data...
poppler-qt4-uninstalled.pc.in Loading commit data...
poppler-qt4.pc.cmake Loading commit data...
poppler-qt4.pc.in Loading commit data...
poppler-qt5-uninstalled.pc.in Loading commit data...
poppler-qt5.pc.cmake Loading commit data...
poppler-qt5.pc.in Loading commit data...
poppler-splash-uninstalled.pc.in Loading commit data...
poppler-splash.pc.cmake Loading commit data...
poppler-splash.pc.in Loading commit data...
poppler-uninstalled.pc.in Loading commit data...
poppler.pc.cmake Loading commit data...
poppler.pc.in Loading commit data...