Changeset 5a96b36


Ignore:
Timestamp:
Jun 20, 2022, 4:47:10 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
86601a5
Parents:
2ed32fa7
Message:

Fixed small bugs with dry-run in tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/tools.py

    r2ed32fa7 r5a96b36  
    4646
    4747                        print(cmd)
    48                         return 0, None
     48                        return 0, None, None
    4949
    5050                with contextlib.ExitStack() as onexit:
     
    291291################################################################################
    292292def jobserver_version():
    293         make_ret, out, err = sh('make', '.test_makeflags', '-j2', output_file=subprocess.PIPE, error=subprocess.PIPE)
     293        make_ret, out, err = sh('make', '.test_makeflags', '-j2', ignore_dry_run = True, output_file=subprocess.PIPE, error=subprocess.PIPE)
    294294        if make_ret != 0:
    295295                print("ERROR: cannot find Makefile jobserver version", file=sys.stderr)
Note: See TracChangeset for help on using the changeset viewer.