Changeset e6cfb4e2 for tests/test.py


Ignore:
Timestamp:
Sep 28, 2020, 3:03:53 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
7ab28b6
Parents:
8a71d8e
Message:

synteax only tests now cp error log into target file.
Small refactoring.
Added comments to test.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    r8a71d8e re6cfb4e2  
    173173        test.prepare()
    174174
     175        # ----------
     176        # MAKE
     177        # ----------
    175178        # build, skipping to next test on error
    176179        with Timed() as comp_dur:
    177180                make_ret, _ = make( test.target(), output_file=subprocess.DEVNULL, error=out_file, error_file = err_file )
    178181
     182        # ----------
     183        # RUN
     184        # ----------
     185        # run everything in a temp directory to make sure core file are handled properly
    179186        run_dur = None
    180         # run everything in a temp directory to make sure core file are handled properly
    181187        with tempdir():
    182188                # if the make command succeeds continue otherwise skip to diff
Note: See TracChangeset for help on using the changeset viewer.