Changeset fd35f76 for tests


Ignore:
Timestamp:
Apr 21, 2020, 5:44:58 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
192ac5d, 7fd71c7
Parents:
a3fab47 (diff), 62cc231 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    ra3fab47 rfd35f76  
    206206
    207207                else:
    208                         with open (out_file, "r") as myfile:
    209                                 error = myfile.read()
     208                        if os.stat(out_file).st_size < 1048576:
     209                                with open (out_file, "r") as myfile:
     210                                        error = myfile.read()
     211                        else:
     212                                error = "Output log can't be read, file is bigger than 1MB, see {} for actual error\n".format(out_file)
    210213
    211214                        ret, info = core_info(exe_file)
Note: See TracChangeset for help on using the changeset viewer.