diff options
author | Richard J. Knight <rjknight@us.ibm.com> | 2016-05-04 07:44:06 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-08-01 00:26:52 -0400 |
commit | 0c9efe49586228ea608086b7768fc144ba0be2ab (patch) | |
tree | 237778195d06b92ccdc64c5cb923121cc0f49a6c /import/hwpf | |
parent | 3d6f8ef10a9873d2be6050e73df54dd8daf843c7 (diff) | |
download | talos-sbe-0c9efe49586228ea608086b7768fc144ba0be2ab.tar.gz talos-sbe-0c9efe49586228ea608086b7768fc144ba0be2ab.zip |
Unable to add FFDC to RC after hwp returns error
-Updated ffdc execute path so that error is returned instead
of being committed, this change will make the error flow
similar to how it was in p8.
Change-Id: I2bbabb441aea4007f8ab90d7a68f9b266ddf9929
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24068
Tested-by: Jenkins Server
Tested-by: Hostboot CI
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27633
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import/hwpf')
-rwxr-xr-x | import/hwpf/fapi2/tools/parseErrorInfo.pl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/import/hwpf/fapi2/tools/parseErrorInfo.pl b/import/hwpf/fapi2/tools/parseErrorInfo.pl index 61a62667..9934d056 100755 --- a/import/hwpf/fapi2/tools/parseErrorInfo.pl +++ b/import/hwpf/fapi2/tools/parseErrorInfo.pl @@ -1212,7 +1212,7 @@ foreach my $argnum (0 .. $#ARGV) # the default severity. print ECFILE " void execute(fapi2::errlSeverity_t" . " i_sev = fapi2::FAPI2_ERRL_SEV_UNDEFINED," . - "bool commit = true )\n"; + "bool commit = false )\n"; if ($arg_empty_ffdc eq undef) { print ECFILE " {\n"; @@ -1223,12 +1223,6 @@ foreach my $argnum (0 .. $#ARGV) "(i_sev == fapi2::FAPI2_ERRL_SEV_UNDEFINED)" . " ? iv_sev : i_sev);\n"; print ECFILE " }\n"; - print ECFILE " else\n"; - print ECFILE " {\n"; - print ECFILE " fapi2::createPlatLog(iv_rc, " . - "(i_sev == fapi2::FAPI2_ERRL_SEV_UNDEFINED)". - " ? iv_sev : i_sev);\n"; - print ECFILE " }\n\n"; print ECFILE " }\n"; } @@ -1236,6 +1230,7 @@ foreach my $argnum (0 .. $#ARGV) { print ECFILE " {\n"; print ECFILE " static_cast<void>(i_sev);\n"; + print ECFILE " static_cast<void>(commit);\n"; print ECFILE " }\n\n"; } |