diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2017-02-07 11:09:44 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-02-11 21:37:17 -0500 |
commit | 9fb6c6be5a35e14bb06f285282db6f2ed4220f7d (patch) | |
tree | d67c9b53b94d2ec0954b4034e02ee1341606e771 /src/lib/cxxtest_data.C | |
parent | ea1efc2a4755f9c0882933cc0dd4a3f19220b062 (diff) | |
download | talos-hostboot-9fb6c6be5a35e14bb06f285282db6f2ed4220f7d.tar.gz talos-hostboot-9fb6c6be5a35e14bb06f285282db6f2ed4220f7d.zip |
Output list of cxxtest failures
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>
Diffstat (limited to 'src/lib/cxxtest_data.C')
-rw-r--r-- | src/lib/cxxtest_data.C | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/cxxtest_data.C b/src/lib/cxxtest_data.C index f2d26cd32..7190aa341 100644 --- a/src/lib/cxxtest_data.C +++ b/src/lib/cxxtest_data.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -22,6 +24,7 @@ /* IBM_PROLOG_END_TAG */ #include <stdint.h> +#include <usr/cxxtest/cxxtest_data.H> /** * @brief global vars to keep track of unit tests, * @@ -47,6 +50,10 @@ * This variable is also used to allow a code in a binary image * not containing the testcase modules to query the number of failed tests * + * @var g_FailedTestList - updated by TS_FAIL macro in the unit test image. + * This variable is also used to allow code in a binary image not containing + * the testcase modules to query a list of failed tests + * */ namespace CxxTest @@ -59,5 +66,8 @@ uint64_t g_FailedTests = 0; uint64_t g_ModulesStarted = 0; uint64_t g_ModulesCompleted= 0; +struct CxxTestFailedEntry g_FailedTestList[CXXTEST_FAIL_LIST_SIZE]; + + } |