OSDN Git Service
(root)
/
oca1
/
test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eda84b
)
add reslut.xml output
author
bols
<bols-blue@lnc.jp>
Fri, 12 Aug 2011 05:21:06 +0000
(14:21 +0900)
committer
bols
<bols-blue@lnc.jp>
Fri, 12 Aug 2011 05:21:06 +0000
(14:21 +0900)
USB_Keybord_MAX3421E/src/TestMain.cpp
patch
|
blob
|
history
diff --git
a/USB_Keybord_MAX3421E/src/TestMain.cpp
b/USB_Keybord_MAX3421E/src/TestMain.cpp
index
9f6bfae
..
8e8a889
100644
(file)
--- a/
USB_Keybord_MAX3421E/src/TestMain.cpp
+++ b/
USB_Keybord_MAX3421E/src/TestMain.cpp
@@
-24,6
+24,11
@@
int sc_main( int argc, char* argv[] ) {
// テスト結果を標準出力に吐き出す
CPPUNIT_NS::CompilerOutputter outputter( &result, CPPUNIT_NS::stdCOut() );
+ std::ofstream ofs( "test_result.xml" );
+ CppUnit::Outputter* outputter =
+ new CppUnit::XmlOutputter(&runner.result(),ofs);
+
+ runner.setOutputter(outputter);
outputter.write();
return 0 ;