icnhoukdsiih / testlib

Automatically exported from code.google.com/p/testlib
0 stars 0 forks source link

unexpected-eof outcome in XML even if no -DENABLE_UNEXPECTED_EOF compilation parameter used #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
unexpected-eof outcome is not replaced with PE in XML report generator.

To fix add

#ifndef ENABLE_UNEXPECTED_EOF
                if (result == _unexpected_eof) {
                    result = _pe;
                }
#endif
before printing XML

Original issue reported on code.google.com by stan...@gmail.com on 14 Dec 2013 at 12:24