Changeset 8364209 for tests/test.py


Ignore:
Timestamp:
Oct 29, 2019, 3:57:35 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
b067d9b
Parents:
c3a2007
Message:

Tests now send SIGABRT instead and SIGTERM when a test takes too long

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    rc3a2007 r8364209  
    210210        except KeyboardInterrupt:
    211211                return False, ""
    212         except:
    213                 print("Unexpected error in worker thread", file=sys.stderr)
     212        except Exception as ex:
     213                print("Unexpected error in worker thread: %s" % ex, file=sys.stderr)
    214214                sys.stderr.flush()
    215215                return False, ""
Note: See TracChangeset for help on using the changeset viewer.