Changeset 9cd44ba for tests/pybin


Ignore:
Timestamp:
Mar 3, 2022, 2:43:18 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
d529ad0
Parents:
d9d8b9f
Message:

change tests to evaluate -j option once

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/tools.py

    rd9d8b9f r9cd44ba  
    290290################################################################################
    291291# count number of jobs to create
    292 def job_count( options, tests ):
     292def job_count( options ):
    293293        # check if the user already passed in a number of jobs for multi-threading
    294294        if not options.jobs:
     
    317317                sys.exit(1)
    318318
    319         return min( options.jobs, len(tests) ), force
     319        return options.jobs, force
    320320
    321321# enable core dumps for all the test children
Note: See TracChangeset for help on using the changeset viewer.