Changeset ac032b5


Ignore:
Timestamp:
Jun 5, 2017, 10:21:20 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
2f9a722
Parents:
6cff9f3
Message:

Test now properly outputs on segfaults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/test.py

    r6cff9f3 rac032b5  
    197197                        # fetch return code and error from the diff command
    198198                        retcode, error = diff(".expect/%s.txt" % test.path, ".out/%s.log" % test.name, dry_run)
     199
     200        else:
     201                with open (out_file, "r") as myfile:
     202                        error = myfile.read()
     203
     204               
    199205        # clean the executable
    200206        sh("rm -f %s > /dev/null 2>&1" % test.name, dry_run)
Note: See TracChangeset for help on using the changeset viewer.