Changeset 2b10f95 for tests/test.py


Ignore:
Timestamp:
Mar 27, 2019, 11:09:15 AM (6 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
86fb8f2
Parents:
1bb2488
Message:

Improved printing, added support for cpp tests and fix byte string concatenation error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    r1bb2488 r2b10f95  
    174174
    175175                ret, info = core_info(exe_file)
    176                 error = error + info
     176                error = error + info if error else info
    177177
    178178
     
    198198                out = sys.stdout
    199199                if error :
    200                         text = text + "\n" + error
     200                        text = text + '\n' + error
    201201                        out = sys.stderr
    202202
     
    288288                settings.update_make_cmd(forceJobs, options.jobs)
    289289
    290                 print('%s (%s:%s) on %i cores' % (
    291                         'Regenerate tests' if settings.generating else 'Running',
     290                print('%s %i tests on %i cores (%s:%s)' % (
     291                        'Regenerating' if settings.generating else 'Running',
     292                        len(tests),
     293                        options.jobs,
    292294                        settings.arch.string,
    293                         settings.debug.string,
    294                         options.jobs
     295                        settings.debug.string
    295296                ))
    296297
Note: See TracChangeset for help on using the changeset viewer.