mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg: ResetVector Tool additional debug prints
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3506 Before executing the nasm command, added print statement to know what commands are executing. before printing the output file need check the status of command which is executed. if the status is 0 then only print the output file name. Reviewed-by: Ray Ni <ray.ni@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Debkumar De <debkumar.de@intel.com> Cc: Harry Han <harry.han@intel.com> Cc: Catharine West <catharine.west@intel.com> Cc: Sangeetha V <sangeetha.v@intel.com> Signed-off-by: Ashraf Ali S <ashraf.ali.s@intel.com>
This commit is contained in:
parent
6c7d6d4a5e
commit
cf7c650592
|
@ -32,9 +32,12 @@ for arch in ('ia32', 'x64'):
|
|||
'-o', output,
|
||||
'Vtf0.nasmb',
|
||||
)
|
||||
print(f"Command : {' '.join(commandLine)}")
|
||||
ret = RunCommand(commandLine)
|
||||
if ret != 0:
|
||||
print(f"something went wrong while executing {commandLine[-1]}")
|
||||
sys.exit()
|
||||
print('\tASM\t' + output)
|
||||
if ret != 0: sys.exit(ret)
|
||||
|
||||
commandLine = (
|
||||
'python',
|
||||
|
|
Loading…
Reference in New Issue