Same versions.  Looks like I had added this: export
TESTSUITEFLAGS="-j8" to my bashrc which is why I got parallelism.

I suppose my other comment is that I'd prefer this isn't optional.  We
hardcode parallelism for make, we might as well do it for make check.

Ethan

On Thu, May 29, 2014 at 1:17 PM, Ben Pfaff <[email protected]> wrote:
> It doesn't work for me with Autoconf 2.69 and GNU Make 3.81.
> What versions are you using?
>
> On Thu, May 29, 2014 at 1:13 PM, Ethan Jackson <[email protected]> wrote:
>> On my system at leas,t the fact that we pass "-j 8" to make,
>> automagically causes the tests to run in parallel already.  Does that
>> not work for you?
>>
>> Ethan
>>
>> On Thu, May 29, 2014 at 10:12 AM, Ben Pfaff <[email protected]> wrote:
>>> Ethan, I think you should review this.
>>>
>>> On Mon, May 19, 2014 at 3:37 PM, Joe Stringer <[email protected]> 
>>> wrote:
>>>> Signed-off-by: Joe Stringer <[email protected]>
>>>> ---
>>>> v2: Make it configurable.
>>>> ---
>>>>  utilities/ovs-dev.py |    4 ++++
>>>>  1 file changed, 4 insertions(+)
>>>>
>>>> diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py
>>>> index 97fab6c..d08ef39 100755
>>>> --- a/utilities/ovs-dev.py
>>>> +++ b/utilities/ovs-dev.py
>>>> @@ -145,6 +145,8 @@ commands.append(make)
>>>>
>>>>  def check():
>>>>      flags = ""
>>>> +    if options.parallel:
>>>> +        flags += "-j%d " % options.parallel
>>>>      if options.tests:
>>>>          flags += options.tests
>>>>      ENV["TESTSUITEFLAGS"] = flags
>>>> @@ -344,6 +346,8 @@ def main():
>>>>      parser.add_option_group(group)
>>>>
>>>>      group = optparse.OptionGroup(parser, "check")
>>>> +    group.add_option("-p", dest="parallel", metavar="N_TESTS", type="int",
>>>> +                     help="Run N_TESTS in parallel")
>>>>      group.add_option("--tests", dest="tests", metavar="FILTER",
>>>>                       help="""run specific tests or a test category
>>>>                            eg, --tests=\"1-10\", --tests=\"-k 
>>>> megaflow\"""")
>>>> --
>>>> 1.7.10.4
>>>>
>>>> _______________________________________________
>>>> dev mailing list
>>>> [email protected]
>>>> http://openvswitch.org/mailman/listinfo/dev
>>>
>>>
>>>
>>> --
>>> "I don't normally do acked-by's.  I think it's my way of avoiding
>>> getting blamed when it all blows up."               Andrew Morton
>
>
>
> --
> "I don't normally do acked-by's.  I think it's my way of avoiding
> getting blamed when it all blows up."               Andrew Morton
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to