[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Suppress rtprio warning when ${CI} env var is set (#279)

akgrant43 notifications at github.com
Sun Aug 19 15:08:00 UTC 2018


Hi Fabio,

I think using a CI environment variable to control the output of 
warnings is less than ideal:

- It is doing double duty with a variable, which is never a good idea.

- If I'm running a CI that does allow rtprio and I want the warning, I 
  have to write the non-obvious script to unset the environment 
  variable.

- If I'm running some other production environment and want to suppress 
  the warning I have to do something like:

export CI "this is a ugly hack to make smalltalk suppress one warning"
squeak/pharo some.image

Either of:

--suppress-rtprio-warning  # previously suggested

or

--suppress list,of,warnings

as command line options is a better approach.  We have CI specific 
scripts which can do the appropriate thing.


Cheers,
Alistair

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/279#issuecomment-414133977
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180819/1910f225/attachment-0001.html>


More information about the Vm-dev mailing list