summaryrefslogtreecommitdiffstats
path: root/src/usr/cxxtest
Commit message (Collapse)AuthorAgeFilesLines
* Output list of cxxtest failuresMarty Gloff2017-02-112-8/+63
| | | | | | | | | | | | Include a list of the first 10 cxxtest failures with the summary of the cxxtest results. Change-Id: I932b63d29b26f6d5afff7c3f5a67679e2a66fd5f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36168 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-218-100/+100
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update makefiles & included .mk files to use += convention.Brian Silver2014-05-212-5/+8
| | | | | | | | Change-Id: I4148bc4c770b7c3c10fe25aa18d57d1a4301e5a9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11194 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Force low-level hardware ops to use delayed deconfigDan Crowell2014-03-211-1/+2
| | | | | | | | | | | | | | | Some code (PRD) chooses to commit errors from register accesses immediately and then continue on. If the error ends up deconfiguring a target that can then lead to even more confusing results downstream. Change-Id: I289b43506a6d7c9d18d4ac6792fffbfc733daea6 CQ: SW250177 Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9415 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ensure error logs during IPL are caught as CxxTest fail.Patrick Williams2014-03-071-1/+8
| | | | | | | | | | | RTC: 39871 Change-Id: I6a3045609d696f5d7d6f3d240da17a150ad70af7 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9362 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove console.H from CxxTest driver include.Patrick Williams2013-11-142-5/+6
| | | | | | | | | Change-Id: Ifd3003cc05cdb2ecd91824250c56e9cec62eaa75 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/7232 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial Hostboot Runtime image support.Patrick Williams2013-09-173-15/+122
| | | | | | | | RTC: 76675 Change-Id: Ibd21cf5b555e6dcee182a2f1a292b47d4f384ba0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6127 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FSI Fixes for multi-chip supportDan Crowell2013-07-011-3/+7
| | | | | | | | | | | | | | Changes include the following: - Fix for modified slave break behavior - Xscom chipid bug fix RTC: 64149 Change-Id: Icd9c93ed265f0004ab4a726fcc01bde0cbe3eadf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5097 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactoring of the build system.Patrick Williams2013-03-012-26/+27
| | | | | | | | | | | | | | | | | | | | | | - Remove unused files for generating LIDs. - Reduce the overall verbosity of the build. - Separate 'config.mk' into a number of smaller, topic-centric files and comment better. - Generalize the 'passes' concept and added an IMAGES pass. - Deprecate most "magic" make variables like EXTRAFOO. - Overall performance improvements. I've tried to reduce the impact of these changes on component-level makefiles. There will be follow-up commit(s) to improve those and decrease the verbosity of some component-owned commands. Change-Id: I6d319f5338eb3946f56b281c3cdd5f341a016fcc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3368 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce trace buffer sizes.Patrick Williams2012-12-142-4/+4
| | | | | | | Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory Leak task_endBill Schwartz2012-10-122-39/+39
| | | | | | | | Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactor InitServiceMark Wenning2012-04-042-14/+17
| | | | | | | | | | | | | | | | Finish join() conversion, remove TaskArgs Cleanup Initservice Cleanup ExtInitService Cleanup IStepDisp Add SPLess Halt & Shutdown command. Implements code for Tasks 35508, 3855, 36929 and 38870 . RTC: 38196 Change-Id: I554655412b529ef6cd143fea361a39bd584d18b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/794 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ensure crashing testcases are flagged as failure.Patrick Williams2012-03-151-1/+8
| | | | | | | | | Change-Id: Ifb2d924986255a9a840fd7ce58cde0b139eff741 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/759 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix DEBUG compile fail in CxxTest.Patrick Williams2012-03-061-1/+1
| | | | | | | | Change-Id: I08380dc507fa53d45710570cbee8c0bf4b84eb43 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/721 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Convert CxxTest to use join.Patrick Williams2012-03-052-25/+17
| | | | | | | | | Change-Id: I404bfbbe179c0fea7bba1deab731f639a5dd20be Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/720 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC4319: Shutdown if IStep failsMark Wenning2011-11-161-3/+5
| | | | | | | | | | | | | | | | - add macro to report error to testHWP.C - new TASKARGS macros (prepare for join change) - istep dispatcher, extinitsvc and initsvc now call shutdown() - pass error codes to parent task - fix errorlog tags, see RTC3840 - added ErrlUserDetails module, mostly for debug - review fixes Change-Id: Ib5009f1bf0f7657d4da5bd6d1ecf64e6113b3383 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/486 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errl commit with component IDMonte Copeland2011-11-021-2/+2
| | | | | | | | Change-Id: Ic8fcd3c69330878e8e7a75ba6ba9d3c60aca6251 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/482 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* RTC3964: x86 Support for UserDetailsMark Wenning2011-11-022-2/+5
| | | | | | | | | | | | - first commit - errlparserbase and errluserparser - need linker step for userdetails libs - final merge Change-Id: I32daae8de483616f20e66581f4e8f3de0dc98257 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/467 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* RTC3872: Hardware Availability Service: Add HWAS as first ISTEPMark Wenning2011-10-201-16/+10
| | | | | | | | | | | | | | | | | | - first commit - change isteplist to call hwas - comment out test isteps - modify xml to add HWAS_STATE attribute - add macros to taskargs - remove debug trace from taskargs - add call to init_fsi - post-review - merge xml files - forgot one printkd Change-Id: Iab3b1f85c401f9a176ed84ddb91263caf25a3d56 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/430 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixes to cxxtest, + add debug for traceMark Wenning2011-10-063-6/+14
| | | | | | | | | | | | - 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>
* RTC 3846: TRAC_INIT macro used for testcases not workingMark Wenning2011-09-132-11/+23
| | | | | | | | Change-Id: I2be53d51ceb063a2635660addb2e05a865e04299 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/332 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Move libs to the extended imageDoug Gilbert2011-09-071-51/+19
| | | | | | | | Change-Id: I275a3a4b897e6426164e4f3bd642f92b0d3fed07 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/285 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Add environment var to remove debug messages.Patrick Williams2011-08-241-0/+3
| | | | | | | | | | | | - Add printkd function. - Create HOSTBOOT_DEBUG env var for printk. - Update trace interfaces to utilize HOSTBOOT_DEBUG. - Fix compile errors due to unused variables. Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-246-82/+118
| | | | | | | 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
* Virtual File System module load and unloaddgilbert2011-08-171-0/+2
| | | | | | | | Change-Id: Iaa6a256a8a15ac48bfba5bc1cab292c5ac246166 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/253 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Hang condition on mutex, try different futex lock codeDoug Gilbert2011-08-031-2/+0
| | | | | | | | Change-Id: I5c9e1e54234a9214a70bec0ef87a53da86100195 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/226 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Adding fake PNOR Device Driver SupportAdam Muhle2011-08-031-0/+2
| | | | | | | Change-Id: Ic434159183bc4dd91c8ba588730cda7e0766c6c0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/223 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* RTC 3367, 3321 TS_FAIL and TS_WARN should send to trace buffer instead of printkMark Wenning2011-07-284-12/+193
| | | | | | | | | | | | | - 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-253-39/+149
| | | | | | | | | | | | | | | | | - 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-143-62/+50
| | | | | | | | | | | | | | | | | | - 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-283-197/+203
| | | | | | | | | | | | | | | | -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>
* Initial futex supportdgilbert2011-06-171-1/+1
| | | | | | | | | Change-Id: I51a4f1117085ce23c7993c1a38e4124596636726 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/141 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to CxxTest to allow CI testing through Jenkins.Patrick Williams2011-06-144-403/+12
| | | | | | | 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>
* Check in initial (working) scripts for auto-unit testMark Wenning2011-06-132-0/+401
| | | | | | | | Change-Id: If783d16ba14e5443a6aa3faea97743f12d6e8cf0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/137 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* CxxTest logs messages to trace bufferMark Wenning2011-06-013-14/+150
| | | | | | | | | | | | | | | | | | | - 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>
* Execute all libtest* modules when hbicore_test image starts.Patrick Williams2011-05-182-1/+27
| | | | | | | | Change-Id: I6da56a396d9c6bb6a274e3a27d447d6e78d63203 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/76 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Automatically generate cxxtest driver.Mark Wenning2011-05-161-0/+719
| | | | | | | Change-Id: Ib844d1ff827c48e37ee1973bc42b2cfee31f86c6 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/74 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Base cxxtest class and some examples.Andrew Geissler2011-05-162-0/+48
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