【发布时间】:2009-06-18 07:59:36
【问题描述】:
这是测试用例失败时 Boost.Test 的输出:
bjam 工具集=msvc ...耐心... ...找到 1287 个目标... ...更新 4 个目标... 编译-c-c++ ..\bin\test\Function.test\msvc-8.0\debug\link-static\threading-multi\Function.obj 函数.cpp msvc.link ..\bin\test\Function.test\msvc-8.0\debug\link-static\threading-multi\Function.exe msvc.manifest ..\bin\test\Function.test\msvc-8.0\debug\link-static\threading-multi\Function.exe testing.capture-output ..\bin\test\Function.test\msvc-8.0\debug\link-static\threading-multi\Function.run ====== 开始输出 ====== 运行 1 个测试用例... Function.cpp(26): "FunctionConstruction" 中的致命错误: 关键检查 pf->Name() == "F13" failed [F1 != F13] *** 在测试套件“foo_test”中检测到 1 个故障 检测到内存泄漏! 倾倒对象 -> {235} 0x003A7C88 处的普通块,32 字节长。 数据:00 00 00 00 CD CD CD CD 54 31 00 CD CD CD CD CD {234} 0x003A7E00 处的普通块,96 字节长。 数据:00 00 00 00 CD CD CD CD 54 31 00 CD CD CD CD CD {233} 0x003A7D88 处的普通块,76 字节长。 数据:F4 D9 45 00 00 00 00 00 CD CD CD CD 00 7E 3A 00 对象转储完成。 退出状态:201 ====== 结束输出 ======MSVC 可以正确解析此错误,因此我可以双击并跳转到代码中。但是 emacs 无法解析这个输出。怎么教?
【问题讨论】:
标签: unit-testing emacs boost