diff options
author | Mark Wenning <wenning@us.ibm.com> | 2011-05-18 15:52:46 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-06-01 14:07:35 -0500 |
commit | 8509613766f5b1074f89589e653bcb8a4cec2ac0 (patch) | |
tree | e5445f93b2bb1c1a9741b737f217b0385e0e5f96 /src/usr/cxxtest/cxxtestexec.C | |
parent | 329be941b1056a3b2e68fcfdf1bc4a9cd5335c84 (diff) | |
download | blackbird-hostboot-8509613766f5b1074f89589e653bcb8a4cec2ac0.tar.gz blackbird-hostboot-8509613766f5b1074f89589e653bcb8a4cec2ac0.zip |
CxxTest logs messages to trace buffer
- mark globals with g_
- thread safety
- remove more tabs.
- Add globals and accessors to track totaltests, failedtests, warnings, tracecalls.
- Modify cxxtestgen.pl to add reportTotalTests() call
- uncommented printk's in TestSuite.C
- cxxtestgen.pl just prints out the test suite
- exampletest.H has more descriptive test names, forces a FAIL, WARN, and TRACE
- add a printk() to cxxtest module so that we know it ran.
Change-Id: I3ff25b228f17371b6f84bdb16309015818867266
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/90
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/cxxtest/cxxtestexec.C')
-rw-r--r-- | src/usr/cxxtest/cxxtestexec.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/cxxtest/cxxtestexec.C b/src/usr/cxxtest/cxxtestexec.C index 371bb1274..274f386ef 100644 --- a/src/usr/cxxtest/cxxtestexec.C +++ b/src/usr/cxxtest/cxxtestexec.C @@ -1,6 +1,7 @@ #include <sys/vfs.h> #include <sys/task.h> #include <string.h> +#include <kernel/console.H> /* Iterate through all modules in the VFS named "libtest*" and create children * tasks to execute them. @@ -10,6 +11,8 @@ void _start(void*) { VfsSystemModule* vfsItr = &VFS_MODULES[0]; + printk( "Executing CxxTestExec module.\n"); + while(vfsItr->module[0] != '\0') { if (0 == memcmp(vfsItr->module, "libtest", 7)) |