Commit Graph

3 Commits

Author SHA1 Message Date
Vassil Vassilev
1ae610b211 Fix savannah #99234.
The issue we experienced is that we couldn't pipe the output in the terminal.
The reason is that we were using llvm::outs() which closes explicitly the file
descriptor (thanks Axel for the help debugging).
We introduce our custom stream, which keeps the file descriptor open so that
we can use it in pipes. For debugging purposes, however we use/should use llvm::errs()

The lesson learned:
DONT USE LLVM::OUTS() ANYMORE!


git-svn-id: http://root.cern.ch/svn/root/trunk@48316 27541ba8-7e3a-0410-8455-c3a389f83636
2013-01-17 15:27:14 +00:00
Vassil Vassilev
a81a028269 Add simpler testcase. The test is marked as XFAIL because of another bug.
git-svn-id: http://root.cern.ch/svn/root/trunk@48121 27541ba8-7e3a-0410-8455-c3a389f83636
2012-12-19 10:59:04 +00:00
Axel Naumann
dac8f76e3e Showcase https://savannah.cern.ch/bugs/index.php?99210
and likely also https://savannah.cern.ch/bugs/?99234
Use a test case where RAII is enforced and copying is not an option (instance count).


git-svn-id: http://root.cern.ch/svn/root/trunk@47847 27541ba8-7e3a-0410-8455-c3a389f83636
2012-12-05 11:12:52 +00:00