summaryrefslogtreecommitdiffstats
path: root/src/include/usr/cxxtest
Commit message (Collapse)AuthorAgeFilesLines
* Lockless trace implementationPatrick Williams2012-12-141-22/+23
| | | | | | | | | RTC: 35396 Change-Id: I96ea0d95606f04abb4dc2b0470345ca475b53912 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2520 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* TS_TRACE should display all the timeMark Wenning2011-10-311-3/+3
| | | | | | | | | | - TS_TRACE will be turned on using the new HOSTBOOT-DEBUG options - enable TS_WARN all the time though Change-Id: Ibe402cdeb66cd6bc7ccde242003ae76ec4d022ea Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/461 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixes to cxxtest, + add debug for traceMark Wenning2011-10-061-1/+1
| | | | | | | | | | | | - cxxtestgen.pl was counting the tests wrong (did not reset # tests between suites) - to be continued... Change-Id: Ic060bcaf38dee39a620b3bef7c651851547442dc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/423 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Add TS_FAIL to field trace.Patrick Williams2011-09-121-1/+1
| | | | | | | | Change-Id: Ibd06031b9b978455ad8f1c01f5f8faab9bd7785d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/294 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-241-16/+22
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* RTC 3367, 3321 TS_FAIL and TS_WARN should send to trace buffer instead of printkMark Wenning2011-07-281-10/+17
| | | | | | | | | | | | | - first commit - add cxxtesttest.H unit test - comment out warn and fail from unit tests, leave for sandbox builds - make citest finishes OK - merge problems with gerrit Change-Id: Id9157837e1511eb1aebb13aeadd2286a8dce5eb3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/210 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Cleanup from previous reviews, add barrier for CxxTestMark Wenning2011-07-251-0/+23
| | | | | | | | | | | | | | | | | - add IStep1 for demo - cleanup: remove inheritance, add errlog tags, etc. - inadvertently ran copyright script, this is OK. - more cleanup: indentation, etc. - add barrier for CxxTests - rename cxxtest_stub.C to cxxtest_data.C - merge problems on gerrit - fix review comments Change-Id: Iee988b8595d8c6dd521fd94d4d58cb403898d948 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/207 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* InitService changes for LLDD 0.7Mark Wenning2011-07-141-14/+19
| | | | | | | | | | | | | | | | | | - implement task flags - add barrier to unit tests - startTask returns errlog handle - factor taskargs.H - add STRICT mode and fix results - add tasktest2 to replace example.C - add cxxtest as an explicit task at the end - cleanup todo's - post-review fixes - merge problem Change-Id: I073bd154a64013553c1863f9eb674cda2bf40a8d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/187 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* TS_TRACE now dumps to trace buffer instead of printkMark Wenning2011-06-281-46/+51
| | | | | | | | | | | | | | | | -Minor change to cxxtestgen.pl script to bump the suite name and add whitespace - resolve conflicts in makefile and cxxtestgen.pl - fix TS_TRACE - add fixes from code review - add debug messages to trace modules not finishing problem - line over 80 chars, remove 10 sec delay - add 5 min timeout to autocitest - change check interval to 5 seconds instead of 30 seconds Change-Id: I11f18fbeed007590a4ca70c45d109071474a9864 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/154 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to CxxTest to allow CI testing through Jenkins.Patrick Williams2011-06-141-0/+2
| | | | | | | Change-Id: Iab9f19214d1d820936cab159bd509478972913cd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/146 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* CxxTest logs messages to trace bufferMark Wenning2011-06-011-1/+13
| | | | | | | | | | | | | | | | | | | - 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>
* Base cxxtest class and some examples.Andrew Geissler2011-05-161-0/+54
Change-Id: I8ff2fdffe8be34f5ece9a5e4b2f5d07a4bc73d73 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/71 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
OpenPOWER on IntegriCloud