summaryrefslogtreecommitdiffstats
path: root/src/build/citest/setup-env
Commit message (Collapse)AuthorAgeFilesLines
* Implement Static Analysis with cppcheckMegan2019-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Cppcheck static analysis tool can now be run when compiling by running: make cppcheck And it will always run when committing without stopping the commit if an error is found. This commit suppresses some false positives found in the code. A false positive can be suppressed inline by placing “// cppcheck-suppress syntaxError” in a line before the false positive., e.g.: char arr[5]; // cppcheck-suppress arrayIndexOutOfBounds arr[10] = 0; Change-Id: I9e833a153d6b04df2f8a72cd994e43922c61c2fe RTC: 201451 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79629 Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
* Updates to testcases for AxoneDan Crowell2019-03-071-0/+5
| | | | | | | | | | | | | | | | | | Disabling a few testcases temporarily until Axone gets off the ground. Cleaned up some bad traces, etc in existing code. Add CI support for AXONE config Change-Id: I7a2140366e225971c91a50cec1f7e822e4847078 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72186 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Unset CONFIG_FILE env var if in standalone environmentChristian Geddes2019-02-071-3/+3
| | | | | | | | | | | | There was a bug where we were setting it to nothing rather than unsetting it, we think it might be causing other issues. Change-Id: I06df6e9ed9f84414a5ee8765b255574952b281e9 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71530 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add FSPBUILD to CI scriptsDan Crowell2019-02-061-1/+9
| | | | | | | | | | | | | | | | | | | | | | Added logic to the autoci scripts for a new FSPBUILD mode. This mode will perform the following actions: - Build hostboot with the fsprelease.config file - Build the errlparser code - Not run simics Also added support for a new env var (LOCAL_CI_USER) that can be used to let you execute 'build-script' locally rather than trying to use the 'hostboot' user id for some of the operations. Change-Id: Ifc9d7875e00713cd46a27765aef5d24f88122a50 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70617 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Camvan T. Nguyen <ctnguyen@us.ibm.com> Reviewed-by: Sameer R. Veer <sveer@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Adding cumulus model to ci testingElizabeth Liner2018-10-191-0/+4
| | | | | | | | | | | | | Change-Id: I6b7ad221bdc3862ecaa2d9e0a386332499f2be29 RTC:190805 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/58663 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Camvan T. Nguyen <ctnguyen@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sameer R. Veer <sveer@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Changes to build-script & setup-env for nimbus & cumulus to co-existSameer Veer2018-01-291-1/+10
| | | | | | | | | | | | | RTC: 179800 Change-Id: If15f1d49bc8ba189fdd7e5b139011bb7a12b654b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46887 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Corrected issue with hb errlparser not exiting on errorRoland Veloz2018-01-161-3/+14
| | | | | | | | | | | | | | | | | | | The code was doing a lot of negative one returns and exits when it should be passing values from 0 - 255 (0 being success and 1 to 255 indicating failure.) Also, why return a different error when you have a perfectly good error code already there. So I return the current error code. Change-Id: I485e6abcfded39ad8121de109f16e587c53f1f81 CQ: SW326835 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51507 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix Simics hb_machine, Enable Simics for CIDean Sanner2016-02-191-2/+2
| | | | | | | | RTC: 137477 Change-Id: I57d1b410ebaaccc6e270ea7ff15f83fe7c70f177 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23054 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fixed return code issue with hb errlparser commandZane Shelley2015-10-051-0/+1
| | | | | | | | | | Change-Id: Ic697270eecdde06a761ff71ff406e2550e979018 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20227 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allow dynamic sizing of HBI when test cases are runStephen Cprek2015-09-291-0/+2
| | | | | | | | | | | | | Change-Id: I30947cb19125e616c57af89434acd8a9811b1a74 RTC:135217 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20735 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Generalize env vars, env setup, and copyright scriptsStephen Cprek2015-09-011-4/+4
| | | | | | | | | | | | | Methods ported over from code in EKB. Change-Id: I26b6f2326314936b0316f64272230730ecd3f9ee RTC: 126634 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17465 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed the hb errlparser cmd, it was overwritting sandbox namePrachi Gupta2014-08-011-5/+18
| | | | | | | | CQ: SW267992 Change-Id: I98fb81331cb4f11fb0e428aef195be986680c76b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12300 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | 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>
* Reorganize citest scripts.Patrick Williams2014-04-251-0/+78
Split pieces of the autocitest script out so that we can control the order of the pieces, allow some to run in parallel, etc. This will enable us to build the error log parsers as part of Jenkins testing. Change-Id: I017c7b0516673dc267eb90adf03b4604602281e6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10673 Tested-by: Jenkins Server Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud