[mlpack-git] [mlpack] better Boost test output (#344)
QiaoAn Chen
notifications at github.com
Wed Feb 18 00:28:09 EST 2015
I found something that might be useful from [Boost UTF Runtime Parameters](http://www.boost.org/doc/libs/1_57_0/libs/test/doc/html/utf/user-guide/runtime-config/reference.html#utf.user-guide.runtime-config.parameters).
After setting the parameter *log_level=test_suite*, Boost UTF print the currently running test information.
Running 460 test cases...
Entering test suite "MLPACKTest"
Entering test suite "AdaBoostTest"
Entering test case "HammingLossBoundIris"
Leaving test case "HammingLossBoundIris"; testing time: 823709mks
Entering test case "WeakLearnerErrorIris"
Leaving test case "WeakLearnerErrorIris"; testing time: 840446mks
However, the Log:: objects still output to stdout, interfering UTF output. Logs objects probably should redirect their output to some places.
Entering test case "DiscreteDistributionRandomTest"
[DEBUG] 1.4912e+04 3.0118e+04 4.9700e+03
Leaving test case "DiscreteDistributionRandomTest"; testing time: 17148mks
Entering test case "TestBooleanOption"
[DEBUG] Compiled with debugging symbols.
Leaving test case "TestBooleanOption"; testing time: 410mks
I want to tackle this problem, but I don't familiar with the framework of mlpack and tools it used(CMake, Boost UTF). Would you like to offer me a help?
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/344#issuecomment-74814802
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150217/a7195c5f/attachment.html>
More information about the mlpack-git
mailing list