Changeset b053083 for tests/test.py


Ignore:
Timestamp:
Mar 11, 2022, 10:54:10 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
4f6dda0
Parents:
cc9b520
Message:

Fixed error handling for core_info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    rcc9b520 rb053083  
    235235                                error = "Output log can't be read, file is bigger than 1MB, see {} for actual error\n".format(out_file)
    236236
    237                         ret, info, gdberr = core_info(exe_file)
    238                         if ret == 0:
    239                                 error = error + info if error else info
    240                         else :
    241                                 error = error + gdberr if error else gdberr
     237                        ret, info = core_info(exe_file)
     238                        error = error + info if error else info
    242239
    243240                        if settings.archive:
Note: See TracChangeset for help on using the changeset viewer.