Changeset 630c4bb for tests/pybin


Ignore:
Timestamp:
Mar 11, 2022, 12:30:39 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
3c4bf05, 510e6f9
Parents:
4f6dda0
Message:

Added more information when we expect a core dump and didn't get one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/tools.py

    r4f6dda0 r630c4bb  
    483483
    484484        if not os.path.isfile(core):
    485                 return 1, "ERR No core dump (limit soft: {} hard: {})".format(*resource.getrlimit(resource.RLIMIT_CORE))
     485                return 1, "ERR No core dump, expected '{}' (limit soft: {} hard: {})".format(core, *resource.getrlimit(resource.RLIMIT_CORE))
    486486
    487487        try:
Note: See TracChangeset for help on using the changeset viewer.