Add a hack to the Catch header to shorten test case output filenames

This commit is contained in:
2015-07-01 16:10:58 -04:00
parent d8b4ee9c56
commit cf51efffe4

View File

@@ -7044,7 +7044,9 @@ namespace Catch {
SourceLineInfo::SourceLineInfo( char const* _file, std::size_t _line )
: file( _file ),
line( _line )
{}
{
file = file.substr(file.find("../") + 2);
}
SourceLineInfo::SourceLineInfo( SourceLineInfo const& other )
: file( other.file ),
line( other.line )