<div dir="ltr"><div><div>Yes, `f` is a factory.<br><br></div>In this case, I think you want `steps.Compile` rather than just `Compile` on the third line.<br><br></div>Dustin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 1:52 AM, MikeLing <span dir="ltr"><<a href="mailto:sabergeass@gmail.com" target="_blank">sabergeass@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi:<br>
    <br>
        I meet some problem when I try to add *
    
    <tt><span><span>WarningCountingShellCommand</span></span></tt>*
    to Compile steps. When I read about this
    document(<a href="http://docs.buildbot.net/current/manual/cfg-buildsteps.html?highlight=warningcountingshellcommand#shellcommand" target="_blank">http://docs.buildbot.net/current/manual/cfg-buildsteps.html?highlight=warningcountingshellcommand#shellcommand</a>),
    I haven't found where this 'f' been defined in configure file(maybe
    it should be 'factory'?).  And after I add:<br>
    <br>
    <blockquote>factory.addStep(steps.Compile(command=["make"],<br>
                        warningPattern="^(.\*?):([0-9]+): [Ww]arning:
      (.\*)$",<br>
                       
      warningExtractor=Compile.warnExtractFromRegexpGroups,<br>
                       
      suppressionFile="support-files/noexistfile.supp"))<br>
    </blockquote>
    <br>
    in configure file, it will tell me " the name 'Compile' is not
    defined".  Could you tell me what should I do next? How could I fix
    this? Thank you :)<span class="HOEnZb"><font color="#888888"><br>
    <br>
    MikeLing<br>
    <br>
  </font></span></div>

<br>_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br></blockquote></div><br></div>