Hi Matt! I like your solution, but if "messages" or maybe "hints" won't get implemented, I've got an idea for a workaround.
If (under linux) the buildbot compiler is started like echo "const AUTOMATED_BUILD=1" | ~/JAL/jallib/compiler/jalv2 -include /dev/stdin <all other arguments> you can check for the AUTOMATED_BUILD constant and decide wether or not to display the warning. (You can not use 'echo "const AUTOMATED_BUILD=true"' as "true" is not defined yet. This becomes the very first line in each program.) Greets, Kiste ________________________________ Von: Matthew Schinkel <[email protected]> An: [email protected] Gesendet: 22:48 Dienstag, 30.September 2014 Betreff: Re: [jallib] r3594 committed - JalV2 compiler version 2.4q3 Hi Rob, Buildbot would fail on a warning. Can you add a note at the top of the sample/lib? Users should read the documentation. Maybe you can suggest to kyle to add a "message" or "console_write" type of warning that shows on compile. I have needed this in the past. example: const SHOW_MESSAGES = TRUE -- set this to false after you have read the compile help messages. If (SHOW_MESSAGES == TRUE) then console_write("Please ensure you are using a inverter.") end if Matt. On Tuesday, September 30, 2014 2:32:17 PM UTC-4, RobH wrote: >Hi Matt, > >On 29.09.14 03:58, Matthew Schinkel wrote: >> >> I'm just trying to get to know buildbot a bit better. > >Then I have something for you: >I have the intention to commit lib(s) and samples to control a chain of >WS2812B chips. Because some combinations require an external signal >inverter circuit I want to issue a warning, but this is against the >Jallib policy: "no errors, no warnings". Nevertheless I think an >exception is appropriate in this case. >The question is: does buildbot consider this as 'build failure'? > >Regards, Rob. > > >-- >R. Hamerling, Netherlands --- http://www.robh.nl > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/jallib. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/jallib. For more options, visit https://groups.google.com/d/optout.
