Changeset 5baa33c for tests


Ignore:
Timestamp:
Mar 8, 2022, 6:30:59 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
cc9b520
Parents:
ef56087
Message:

Removed debug print and drop spurious 'w' in make flags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/tools.py

    ref56087 r5baa33c  
    371371                # do we have limited parallelism?
    372372                if exists_fds :
    373                         print("limited {}".format(exists_fds))
    374373                        try:
    375374                                rfd, wfd = tuple(exists_fds.split('=')[1].split(','))
     
    377376                                print("ERROR: jobserver has unrecoginzable format, was '{}'".format(exists_fds), file=sys.stderr)
    378377                                sys.exit(1)
    379 
    380                         print("{} {}".format(rfd, wfd))
    381378
    382379                        # read the token pipe to count number of available tokens and restore the pipe
     
    404401                        options.jobs = 1
    405402
    406                 # keep all flags make passed along
    407                 flags = make_flags
     403                # keep all flags make passed along, except the weird 'w' which is about subdirectories
     404                flags = [f for f in make_flags if f != 'w']
    408405
    409406        # Arguments are calling the shots, fake the top level make
     
    429426        # Make sure we call make as expected
    430427        settings.update_make_cmd( flags )
    431         print(flags)
    432         print(os.environ.get('MAKEFLAGS'))
    433428
    434429        # return the job count
Note: See TracChangeset for help on using the changeset viewer.